|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.entry.SharedStoreRegistry
public class SharedStoreRegistry
INTERNAL: Registry of topicmap repositories that are to be shared between web applications. Instances of this class can be put into JNDI.
Field Summary | |
---|---|
protected static SharedStoreRegistry |
defaultRegistry
|
protected java.lang.String |
registryName
|
protected static java.util.Map<java.lang.String,TopicMapRepositoryIF> |
repositories
|
protected java.lang.String |
resourceName
|
protected java.lang.String |
sourceLocation
|
Constructor Summary | |
---|---|
SharedStoreRegistry()
|
Method Summary | |
---|---|
static SharedStoreRegistry |
getDefaultRegistry()
INTERNAL: Returns the default shared registry, of which there is one per JVM. |
TopicMapRepositoryIF |
getTopicMapRepository()
INTERNAL: Method which returns the shared topic map repository instance. |
TopicMapRepositoryIF |
replaceTopicMapRepository()
INTERNAL: Method which replaces the currently shared topic map repository with another one. |
void |
setRegistryName(java.lang.String registryName)
INTERNAL: Sets the registry name. |
void |
setResourceName(java.lang.String resourceName)
INTERNAL: Sets the resource name of the topicmap sources xml file to load from classpath. |
void |
setSourceLocation(java.lang.String sourceLocation)
INTERNAL: Sets the location of the topicmap sources xml file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final SharedStoreRegistry defaultRegistry
protected static java.util.Map<java.lang.String,TopicMapRepositoryIF> repositories
protected java.lang.String sourceLocation
protected java.lang.String resourceName
protected java.lang.String registryName
Constructor Detail |
---|
public SharedStoreRegistry()
Method Detail |
---|
public void setSourceLocation(java.lang.String sourceLocation)
public void setResourceName(java.lang.String resourceName)
public void setRegistryName(java.lang.String registryName)
public static final SharedStoreRegistry getDefaultRegistry()
public TopicMapRepositoryIF getTopicMapRepository()
public TopicMapRepositoryIF replaceTopicMapRepository()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |