|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.config.AbstractBasicResourceManager
org.deegree.observation.persistence.ObservationStoreManager
public class ObservationStoreManager
The class TODO add class documentation here.
| Field Summary |
|---|
| Fields inherited from class org.deegree.commons.config.AbstractBasicResourceManager |
|---|
dir, idToState, workspace |
| Constructor Summary | |
|---|---|
ObservationStoreManager()
|
|
| Method Summary | |
|---|---|
ResourceState |
activate(String id)
Activates the resource with the given identifier. |
static boolean |
containsDatastore(String datastoreId)
|
ResourceState |
deactivate(String id)
Deactivates the resource with the given identifier. |
static void |
destroy()
|
static ObservationDatastore |
get(String id)
Returns the ObservationDatastore instance with the specified identifier. |
static Collection<ObservationDatastore> |
getAll()
Returns all active ObservationDatastores. |
static ObservationDatastore |
getDatastoreById(String datastoreId)
|
Class<? extends ResourceManager>[] |
getDependencies()
|
ResourceManagerMetadata |
getMetadata()
|
protected ResourceProvider |
getProvider(File file)
|
static Map<String,ObservationStoreProvider> |
getProviders()
Returns all available providers. |
static void |
init(File osDir)
|
protected void |
remove(String id)
|
void |
shutdown()
Is called upon workspace shutdown. |
void |
startup(DeegreeWorkspace workspace)
Is called upon workspace startup. |
| Methods inherited from class org.deegree.commons.config.AbstractBasicResourceManager |
|---|
createResource, deleteResource, getState, getStates, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.deegree.commons.config.ResourceManager |
|---|
createResource, deleteResource, getState, getStates |
| Constructor Detail |
|---|
public ObservationStoreManager()
| Method Detail |
|---|
public static void init(File osDir)
osDir - public static ObservationDatastore get(String id)
ObservationDatastore instance with the specified identifier.
id - identifier of the observation store instance
ObservationDatastore instance or null if no such instance has been createdpublic static Collection<ObservationDatastore> getAll()
ObservationDatastores.
ObservationDatastores instance, may be empty but never nullpublic static Map<String,ObservationStoreProvider> getProviders()
public static ObservationDatastore getDatastoreById(String datastoreId)
throws ObservationDatastoreException
datastoreId -
ObservationDatastoreExceptionpublic static boolean containsDatastore(String datastoreId)
datastoreId -
public static void destroy()
public Class<? extends ResourceManager>[] getDependencies()
getDependencies in interface ResourceManagerpublic void shutdown()
ResourceManager
shutdown in interface ResourceManagerpublic void startup(DeegreeWorkspace workspace)
ResourceManager
startup in interface ResourceManagerpublic ResourceManagerMetadata getMetadata()
getMetadata in interface ResourceManagerpublic ResourceState activate(String id)
ResourceManager
activate in interface ResourceManagerid - resource identifier, must not be null
nullpublic ResourceState deactivate(String id)
ResourceManager
deactivate in interface ResourceManagerid - resource identifier, must not be null
nullprotected ResourceProvider getProvider(File file)
getProvider in class AbstractBasicResourceManagerprotected void remove(String id)
remove in class AbstractBasicResourceManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||