public class SharedStoreRegistry extends Object
Modifier and Type | Field and Description |
---|---|
protected static SharedStoreRegistry |
defaultRegistry |
protected String |
registryName |
protected static Map<String,TopicMapRepositoryIF> |
repositories |
protected String |
resourceName |
protected String |
sourceLocation |
Constructor and Description |
---|
SharedStoreRegistry() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected static final SharedStoreRegistry defaultRegistry
protected static Map<String,TopicMapRepositoryIF> repositories
protected String sourceLocation
protected String resourceName
protected String registryName
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()