org.deegree.feature.persistence.geocouch
Class GeoCouchFeatureStoreProvider

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

public class GeoCouchFeatureStoreProvider
extends Object
implements FeatureStoreProvider

FeatureStoreProvider for the GeoCouchFeatureStore.

Version:
$Revision: 30164 $, $Date: 2011-03-25 09:17:32 +0100 (Fri, 25 Mar 2011) $
Author:
Markus Schneider, last edited by: $Author: aschmitz $

Constructor Summary
GeoCouchFeatureStoreProvider()
           
 
Method Summary
 GeoCouchFeatureStore 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

GeoCouchFeatureStoreProvider

public GeoCouchFeatureStoreProvider()
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 GeoCouchFeatureStore 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.