|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.feature.persistence.FeatureStoreManager
public class FeatureStoreManager
Entry point for creating and retrieving FeatureStore providers and instances.
| Constructor Summary | |
|---|---|
FeatureStoreManager()
|
|
| Method Summary | |
|---|---|
static FeatureStore |
create(java.net.URL configURL)
Returns an uninitialized FeatureStore instance that's created from the specified FeatureStore
configuration document. |
static void |
destroy()
|
static FeatureStore |
get(java.lang.String id)
Returns the FeatureStore instance with the specified identifier. |
static java.util.Collection<FeatureStore> |
getAll()
Returns all active FeatureStores. |
static java.util.Collection<java.lang.String> |
getFeatureStoreIds()
|
static java.util.Map<java.lang.String,FeatureStoreProvider> |
getProviders()
Returns all available FeatureStore providers. |
static void |
init(java.io.File fsDir)
Initializes the FeatureStoreManager by loading all feature store configurations from the given directory. |
static void |
registerAndInit(FeatureStore fs,
java.lang.String id)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureStoreManager()
| Method Detail |
|---|
public static java.util.Collection<java.lang.String> getFeatureStoreIds()
public static java.util.Map<java.lang.String,FeatureStoreProvider> getProviders()
FeatureStore providers.
public static void init(java.io.File fsDir)
FeatureStoreManager by loading all feature store configurations from the given directory.
fsDir - public static FeatureStore get(java.lang.String id)
FeatureStore instance with the specified identifier.
id - identifier of the feature store instance
FeatureStore instance or null if no such instance has been createdpublic static java.util.Collection<FeatureStore> getAll()
FeatureStores.
FeatureStores instance, may be empty but never null
public static FeatureStore create(java.net.URL configURL)
throws FeatureStoreException
FeatureStore instance that's created from the specified FeatureStore
configuration document.
configURL - URL of the configuration document, must not be null
FeatureStore instance, not yet initialized, never null
FeatureStoreException - if the creation fails, e.g. due to a configuration error
public static void registerAndInit(FeatureStore fs,
java.lang.String id)
throws FeatureStoreException
fs - id -
FeatureStoreExceptionpublic static void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||