|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.metadata.persistence.MetadataStoreManager
public class MetadataStoreManager
Entry point for creating MetadataStore
providers and instances.
Method Summary | |
---|---|
static MetadataStore |
create(java.net.URL configURL)
Returns an initialized MetadataStore instance from the RecordStore configuration document. |
static void |
destroy()
|
static MetadataStore |
get(java.lang.String id)
Returns the global MetadataStore instance with the specified identifier. |
static java.util.Map<java.lang.String,MetadataStore> |
getAll()
Returns all MetadataStore instances. |
static java.util.Map<java.lang.String,MetadataStoreProvider> |
getProviders()
Returns all available MetadataStoreManager providers. |
static void |
init(java.io.File rsDir)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Map<java.lang.String,MetadataStoreProvider> getProviders()
MetadataStoreManager
providers.
public static MetadataStore get(java.lang.String id)
MetadataStore
instance with the specified identifier.
id
- identifier of the store
MetadataStore
instance or null if no such instance has been createdpublic static java.util.Map<java.lang.String,MetadataStore> getAll()
MetadataStore
instances.
MetadataStore
instances, may be empty, but never null
public static MetadataStore create(java.net.URL configURL) throws MetadataStoreException
MetadataStore
instance from the RecordStore configuration document.
configURL
- URL of the configuration document, must not be null
FeatureStore
instance, initialized and ready to be used
MetadataStoreException
- if the creation fails, e.g. due to a configuration errorpublic static void init(java.io.File rsDir)
rsDir
- public static void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |