org.tm4j.panckoucke.impl.store .PanckouckeStore
Description
Created on 17.02.2003
Inheritance Hierarchy
- java.lang.Object
- PanckouckeStore
Method Summary | |
---|---|
void |
closeTopicMapProvider(org.tm4j.panckoucke.impl.store.ProviderReferenceImpl reference)
Closes all TopicMaps which are provided by this provider
and closes the Provider itself. All Topicmaps that were provided by this provider are removed from the store's list of topicmap references. |
ProviderReferenceImpl |
createProvider(java.lang.String factoryClassName,java.util.Properties props)
Creates a new Provider from the given factoryClass.
|
TopicMapReferenceImpl |
findTopicMapReference(java.lang.String baseLocatorAddress)
This method tries to find a TopicMapReference which encapsulates a
TopicMap with the given BaseLocator.
|
TopicMapReferenceImpl |
findTopicMapReferenceById(java.lang.String id)
This method tries to find a TopicMapReference with the given id
This method imposes no constraints regarding the state of the returned TopicMapReference |
java.util.HashMap |
getFactoryCache(java.util.HashMap hm)
Returns a shallow copy of the TopicMapProviderFactoryCache This method is intended to be used for Testing/Statistics. |
StoreAction |
getFromLoadQueue()
Returns the first TopicMapReference from the loadQueue.
|
PanckouckeStore |
getInstance()
Returns the Singleton-Instance
|
java.util.List |
getLoadQueue(java.util.List li)
Returns a shallow copy of the loadQueue This method is intended to be used for Testing/Statistics. |
java.util.List |
getProviderReferences(java.util.List li)
Returns a list of currently open ProviderReferences.
|
java.util.List |
getTopicMapReferences(java.util.List li,boolean all)
Returns a List of TopicmapReferences.
|
TopicMapReferenceImpl |
harvestTopicMap(java.lang.String src,org.tm4j.panckoucke.impl.store.ProviderReferenceImpl p)
harvests a Topicmap from the local filesystem or from an url into the given TopicmapProvider.
|
void |
mergeMaps(org.tm4j.panckoucke.impl.store.TopicMapReferenceImpl tmr,java.lang.String src)
Merging two Topicmaps
|
TopicMapReferenceImpl |
openTopicMap(java.lang.String src,org.tm4j.panckoucke.impl.store.ProviderReferenceImpl p)
loads a Topicmap from the local filesystem or from an url into the given TopicmapProvider.
|
TopicMapReferenceImpl |
openTopicMap(java.lang.String src,org.tm4j.panckoucke.impl.store.ProviderReferenceImpl p,java.lang.String topicmapBuilderClass)
loads a Topicmap from the local filesystem or from an url into the given TopicmapProvider.
|
void |
reset()
Resets the PanckouckeStore
- Closes all Maps
|
Meta Data (2)
@author
:
cf
The PanckouckeStore is the single repository, where panckoucke manages accessible Topicmaps
The Store never returns TopicMap- or Provider-Objects, but uses Wrapper-Objects called TopicMapReference
and ProviderReference.
The primary purpose of theese wrappers is to support assynchronious adding of TopicMaps to a
TopicMapProvider.
Related Topics
Imports
Is Contained By