org.deegree.metadata.persistence.ebrim.eo
Class EbrimEOMDStoreProvider

java.lang.Object
  extended by org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreProvider
All Implemented Interfaces:
ExtendedResourceProvider<MetadataStore>, ResourceProvider, MetadataStoreProvider

public class EbrimEOMDStoreProvider
extends Object
implements MetadataStoreProvider

MetadataStoreProvider for EbrimEOMDStores

Version:
$Revision: $, $Date: $
Author:
Lyn Goltz, last edited by: $Author: lyn $

Constructor Summary
EbrimEOMDStoreProvider()
           
 
Method Summary
 MetadataStore<RegistryObject> 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.
 String[] getCreateStatements(ConnectionManager.Type dbType)
           
 Class<? extends ResourceManager>[] getDependencies()
           
 String[] getDropStatements(ConnectionManager.Type dbType)
           
 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

EbrimEOMDStoreProvider

public EbrimEOMDStoreProvider()
Method Detail

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<MetadataStore>

create

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

getDependencies

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

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

getCreateStatements

public String[] getCreateStatements(ConnectionManager.Type dbType)
                             throws UnsupportedEncodingException,
                                    IOException
Specified by:
getCreateStatements in interface MetadataStoreProvider
Throws:
UnsupportedEncodingException
IOException

getDropStatements

public String[] getDropStatements(ConnectionManager.Type dbType)
                           throws UnsupportedEncodingException,
                                  IOException
Specified by:
getDropStatements in interface MetadataStoreProvider
Throws:
UnsupportedEncodingException
IOException


Copyright © 2011. All Rights Reserved.