|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NavigatorApplicationIF
INTERNAL: Implemented by an object which stores all information and also all handles to configuration holders needed by the navigator web application.
Field Summary | |
---|---|
static java.lang.String |
APP_CONFIG_DEFAULT_VALUE
INTERNAL: Default value for the Application configuration filename. |
static java.lang.String |
APP_CONFIG_KEY
INTERNAL: The context parameter name for the Application configuration file which value can be specified in web.xml . |
static java.lang.String |
CONTEXT_KEY
INTERNAL: The request scope attribute under which the root context tag object of the JSP is stored. |
static java.lang.String |
FOREACH_SEQ_FIRST_KEY
INTERNAL: Variable name which is used/setup inside a foreach-tag for describing if it is the first iteration we are in. |
static java.lang.String |
FOREACH_SEQ_INDEX_KEY
INTERNAL: Variable name which is used/setup inside a foreach-tag for describing the index number iterated currently. |
static java.lang.String |
FOREACH_SEQ_LAST_KEY
INTERNAL: Variable name which is used/setup inside a foreach-tag for describing if it is the last iteration we are in. |
static java.lang.String |
JNDI_REPOSITORY_KEY
INTERNAL: The context parameter name (see web.xml )
for specifying the JNDI repository name, if the TopicMap Sources
should be shared between applications running on the same
server. |
static java.lang.String |
LOG4J_CONFIG_DEFAULT_VALUE
INTERNAL: Default value for the Log4J configuration filename. |
static java.lang.String |
LOG4J_CONFIG_KEY
INTERNAL: The context parameter name for the Log4J configuration file which value can be specified in web.xml . |
static java.lang.String |
NAV_APP_KEY
INTERNAL: The application scope attribute under which our main configuration object for the navigator Application is stored. |
static java.lang.String |
PLUGINS_ROOTDIR_KEY
INTERNAL: The context parameter name for the directory containing all plugins, which value can be specified in web.xml . |
static java.lang.String |
SOURCE_CONFIG_DEFAULT_VALUE
INTERNAL: Default value for the TopicMap Sources configuration filename. |
static java.lang.String |
SOURCE_CONFIG_KEY
INTERNAL: The context parameter name for the TopicMap Sources configuration file which value can be specified in web.xml . |
static java.lang.String |
TOPICMAPS_REPOSITORY_ID
INTERNAL: The id of the topic maps repository to use.. |
static java.lang.String |
USER_KEY
INTERNAL: The session scope attribute for storing information about the user preferences (ie. |
Method Summary | |
---|---|
void |
close()
INTERNAL: Close navigator application and free all resources connected to it. |
NavigatorConfigurationIF |
getConfiguration()
INTERNAL: Get NavigatorConfigurationIF object which allows
access to all application relevant configuration information. |
java.lang.Object |
getInstanceOf(java.lang.String classname)
INTERNAL: Get an object instance of specified class name centralized managed by this instance (application). |
ModuleIF |
getModule(java.net.URL location)
INTERNAL: Return ModuleIF object for specified
resource location (given as URL) of module. |
java.lang.String |
getName()
INTERNAL: Gets the name of this application. |
TopicMapIF |
getTopicMapById(java.lang.String topicmapId)
INTERNAL: Get TopicMapIF object for specified TopicMap
String Identifier which is in accordance to the identifiers used
by the TopicMapRepositoryIF. |
TopicMapIF |
getTopicMapById(java.lang.String topicmapId,
boolean readonly)
INTERNAL: Get TopicMapIF object for specified TopicMap
String Identifier which is in accordance to the identifiers used
by the TopicMapRepositoryIF. |
java.lang.String |
getTopicMapRefId(TopicMapIF topicmap)
INTERNAL: Get the reference ID of the topic map within the application's store registry. |
TopicMapRepositoryIF |
getTopicMapRepository()
INTERNAL: Returns the topic map repository used by the navigator application. |
UserStoreRegistry |
getUserStoreRegistry()
Deprecated. |
void |
refreshAppConfig()
INTERNAL: Refresh application configuration. |
void |
refreshTopicMapRegistry()
INTERNAL: Refresh topic map registry. |
void |
returnTopicMap(TopicMapIF topicmap)
INTERNAL: Returns the TopicMapIF object to the
navigator application. |
Field Detail |
---|
static final java.lang.String NAV_APP_KEY
NavigatorApplication
,
Constant Field Valuesstatic final java.lang.String CONTEXT_KEY
ContextTag
,
Constant Field Valuesstatic final java.lang.String USER_KEY
UserIF
,
Constant Field Valuesstatic final java.lang.String FOREACH_SEQ_FIRST_KEY
static final java.lang.String FOREACH_SEQ_LAST_KEY
static final java.lang.String FOREACH_SEQ_INDEX_KEY
static final java.lang.String LOG4J_CONFIG_KEY
web.xml
.
static final java.lang.String LOG4J_CONFIG_DEFAULT_VALUE
WEB-INF/config/log4j.properties
static final java.lang.String APP_CONFIG_KEY
web.xml
.
static final java.lang.String APP_CONFIG_DEFAULT_VALUE
WEB-INF/config/application.xml
static final java.lang.String SOURCE_CONFIG_KEY
web.xml
.
static final java.lang.String TOPICMAPS_REPOSITORY_ID
static final java.lang.String SOURCE_CONFIG_DEFAULT_VALUE
WEB-INF/config/tm-sources.xml
static final java.lang.String PLUGINS_ROOTDIR_KEY
web.xml
. Note: If there is no value specified then the application will not fallback to a default value, but use no plugins at all.
static final java.lang.String JNDI_REPOSITORY_KEY
web.xml
)
for specifying the JNDI repository name, if the TopicMap Sources
should be shared between applications running on the same
server.
Method Detail |
---|
java.lang.String getName()
NavigatorConfigurationIF getConfiguration()
NavigatorConfigurationIF
object which allows
access to all application relevant configuration information.
java.lang.Object getInstanceOf(java.lang.String classname) throws NavigatorRuntimeException
classname
- String which can be a shortcut for a
full qualified class name (FQCN) specified in the
classmap of NavigatorConfigurationIF
If no entry is found the classname is interpreted
as FQCN.
NavigatorRuntimeException
NavigatorConfigurationIF
TopicMapRepositoryIF getTopicMapRepository()
void refreshTopicMapRegistry()
void refreshAppConfig()
TopicMapIF getTopicMapById(java.lang.String topicmapId) throws NavigatorRuntimeException
TopicMapIF
object for specified TopicMap
String Identifier which is in accordance to the identifiers used
by the TopicMapRepositoryIF.
NavigatorRuntimeException
TopicMapIF getTopicMapById(java.lang.String topicmapId, boolean readonly) throws NavigatorRuntimeException
TopicMapIF
object for specified TopicMap
String Identifier which is in accordance to the identifiers used
by the TopicMapRepositoryIF.
NavigatorRuntimeException
void returnTopicMap(TopicMapIF topicmap)
TopicMapIF
object to the
navigator application. Note that the topic map object must have
been retrieved from the navigator application for this to work
properly.
UserStoreRegistry getUserStoreRegistry()
UserStoreRegistry
object which allows
access to all available topicmap sources, whether they are
already loaded or have to be loaded (managed automatically). The
transaction user is bound internally by the navigator
application.
java.lang.String getTopicMapRefId(TopicMapIF topicmap)
ModuleIF getModule(java.net.URL location) throws NavigatorRuntimeException
ModuleIF
object for specified
resource location (given as URL) of module. If the module cannot
be found in internal object pool a new instance is created.
NavigatorRuntimeException
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |