org.deegree.feature.persistence.shape
Class ShapeFeatureStoreProvider

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

public class ShapeFeatureStoreProvider
extends Object
implements FeatureStoreProvider

FeatureStoreProvider for the ShapeFeatureStore.

Version:
$Revision: 31257 $, $Date: 2011-07-12 12:12:04 +0200 (Tue, 12 Jul 2011) $
Author:
Markus Schneider, last edited by: $Author: aschmitz $

Constructor Summary
ShapeFeatureStoreProvider()
           
 
Method Summary
 ShapeFeatureStore 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

ShapeFeatureStoreProvider

public ShapeFeatureStoreProvider()
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 ShapeFeatureStore 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.