org.deegree.observation.persistence.simple
Class SimpleObservationProvider

java.lang.Object
  extended by org.deegree.observation.persistence.simple.SimpleObservationProvider
All Implemented Interfaces:
ResourceProvider, ObservationStoreProvider

public class SimpleObservationProvider
extends Object
implements ObservationStoreProvider

The SimpleObservationProvider makes available the SimpleObservationStore model. This includes a schema, te

Version:
$Revision: 29937 $, $Date: 2011-03-08 17:02:53 +0100 (Tue, 08 Mar 2011) $
Author:
Andrei Ionita, last edited by: $Author: mschneider $

Constructor Summary
SimpleObservationProvider()
           
 
Method Summary
 String getConfigNamespace()
          Returns the namespace for configuration documents that this provider handles.
 URL getConfigSchema()
          Returns the URL for retrieving the configuration document schema.
 ObservationDatastore getObservationStore(URL configURL)
          Creates a new ObservationDatastore instance from the given configuration document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleObservationProvider

public SimpleObservationProvider()
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

getObservationStore

public ObservationDatastore getObservationStore(URL configURL)
                                         throws ObservationDatastoreException
Description copied from interface: ObservationStoreProvider
Creates a new ObservationDatastore instance from the given configuration document.

Specified by:
getObservationStore in interface ObservationStoreProvider
Parameters:
configURL - location of the configuration document, must not be null
Returns:
new observation store instance, configured, not initialized yet
Throws:
ObservationDatastoreException


Copyright © 2011. All Rights Reserved.