|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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 String |
registryName
|
protected static Map<String,TopicMapRepositoryIF> |
repositories
|
protected String |
resourceName
|
protected 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(String registryName)
INTERNAL: Sets the registry name. |
void |
setResourceName(String resourceName)
INTERNAL: Sets the resource name of the topicmap sources xml file to load from classpath. |
void |
setSourceLocation(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 Map<String,TopicMapRepositoryIF> repositories
protected String sourceLocation
protected String resourceName
protected String registryName
| Constructor Detail |
|---|
public SharedStoreRegistry()
| Method Detail |
|---|
public void setSourceLocation(String sourceLocation)
public void setResourceName(String resourceName)
public void setRegistryName(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 | |||||||||