org.deegree.feature.persistence
Class FeatureStoreManager

java.lang.Object
  extended by org.deegree.commons.config.AbstractBasicResourceManager
      extended by org.deegree.commons.config.AbstractResourceManager<FeatureStore>
          extended by org.deegree.feature.persistence.FeatureStoreManager
All Implemented Interfaces:
ExtendedResourceManager<FeatureStore>, ResourceManager

public class FeatureStoreManager
extends AbstractResourceManager<FeatureStore>

Entry point for creating and retrieving FeatureStore providers and instances.

Version:
$Revision: 32056 $, $Date: 2011-10-04 10:37:46 +0200 (Tue, 04 Oct 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.commons.config.AbstractResourceManager
name, nsToProvider
 
Fields inherited from class org.deegree.commons.config.AbstractBasicResourceManager
dir, idToState, workspace
 
Constructor Summary
FeatureStoreManager()
           
 
Method Summary
 BBoxCache getBBoxCache()
           
 Class<? extends ResourceManager>[] getDependencies()
           
 ResourceManagerMetadata<FeatureStore> getMetadata()
           
 void initMetadata(DeegreeWorkspace workspace)
          Initializes the metadata (can be used to scan for resource providers, important so transitive dependencies work).
 void shutdown()
          Is called upon workspace shutdown.
 void startup(DeegreeWorkspace workspace)
          Is called upon workspace startup.
 
Methods inherited from class org.deegree.commons.config.AbstractResourceManager
activate, add, create, deactivate, get, getProvider, processResourceConfig, remove, remove
 
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

FeatureStoreManager

public FeatureStoreManager()
Method Detail

initMetadata

public void initMetadata(DeegreeWorkspace workspace)
Description copied from interface: ExtendedResourceManager
Initializes the metadata (can be used to scan for resource providers, important so transitive dependencies work).


startup

public void startup(DeegreeWorkspace workspace)
             throws ResourceInitException
Description copied from interface: ResourceManager
Is called upon workspace startup.

Specified by:
startup in interface ResourceManager
Overrides:
startup in class AbstractResourceManager<FeatureStore>
Throws:
ResourceInitException

getDependencies

public Class<? extends ResourceManager>[] getDependencies()
Returns:
an empty array if there are no dependencies

getMetadata

public ResourceManagerMetadata<FeatureStore> getMetadata()
Returns:
a metadata object for use in GUIs, may be null

shutdown

public void shutdown()
Description copied from interface: ResourceManager
Is called upon workspace shutdown.

Specified by:
shutdown in interface ResourceManager
Overrides:
shutdown in class AbstractResourceManager<FeatureStore>

getBBoxCache

public BBoxCache getBBoxCache()


Copyright © 2011. All Rights Reserved.