org.deegree.feature.persistence.memory
Class MemoryFeatureStoreProvider

java.lang.Object
  extended by org.deegree.feature.persistence.memory.MemoryFeatureStoreProvider
All Implemented Interfaces:
ExtendedResourceProvider<FeatureStore>, ResourceProvider, FeatureStoreProvider

public class MemoryFeatureStoreProvider
extends Object
implements FeatureStoreProvider

FeatureStoreProvider for the MemoryFeatureStore.

Version:
$Revision: 31882 $, $Date: 2011-09-15 02:05:04 +0200 (Thu, 15 Sep 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
MemoryFeatureStoreProvider()
           
 
Method Summary
 MemoryFeatureStore create(URL configURL)
           
 String getConfigNamespace()
          Returns the namespace for configuration documents that this provider handles.
 URL getConfigSchema()
          Returns the URL for retrieving the configuration document schema.
 Class<? extends ResourceManager>[] getDependencies()
           
 void init(DeegreeWorkspace workspace)
          Will be called before any call to #create.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryFeatureStoreProvider

public MemoryFeatureStoreProvider()
Method Detail

getConfigNamespace

public String getConfigNamespace()
Description copied from interface: ResourceProvider
Returns the namespace for configuration documents that this provider handles.

Specified by:
getConfigNamespace in interface ResourceProvider
Returns:
the namespace for configuration documents, never null

getConfigSchema

public URL getConfigSchema()
Description copied from interface: ResourceProvider
Returns the URL for retrieving the configuration document schema.

Specified by:
getConfigSchema in interface ResourceProvider
Returns:
the URL for retrieving the configuration document schema, may be null

create

public MemoryFeatureStore create(URL configURL)
                          throws ResourceInitException
Specified by:
create in interface ExtendedResourceProvider<FeatureStore>
Returns:
a new resource created from the configuration url, never null
Throws:
ResourceInitException

init

public void init(DeegreeWorkspace workspace)
Description copied from interface: ExtendedResourceProvider
Will be called before any call to #create.

Specified by:
init in interface ExtendedResourceProvider<FeatureStore>

getDependencies

public Class<? extends ResourceManager>[] getDependencies()
Specified by:
getDependencies in interface ExtendedResourceProvider<FeatureStore>
Returns:
dependencies as resource manager classes, never null


Copyright © 2011. All Rights Reserved.