org.tm4j.panckoucke.store.StoreManager .loadTopicmap(java.lang.String src,org.tm4j.panckoucke.store.ProviderReference providerReference)
Description
Passes a request to load a Topicmap to PanckouckeStore
Dependant on the implementation this method may return immediately,
returning a TopicMapReference which is in the state of PENDING or
OPENING.
The TopicMap will then be loaded assynchrounisly.
The TopicMap will be loaded into the Provider which is specified by the passed
ProviderReference
Parameters | ||
---|---|---|
org.tm4j.panckoucke.store.ProviderReference | providerReference | reference which encapsulates the TopicMapProvider which shall be used to load the map. |
java.lang.String | src | specifies where to get the TopicMap from. src is firstly interpreted as an URL and if that fails as a path in the local filesystem If both attempts did not succeed, the state of the TopicMapReference changes to CORRUPTED. |
Throws
- org.tm4j.panckoucke.store.UnknownReferenceException - if the passed-in Reference was not retrieved by a method of the current Implementation of the StoreManager
Returns
a TopicMapReference which references the specified map. The reference
may be in any state upon returning.
Meta Data (1)