org.deegree.observation.persistence
Interface ObservationStoreProvider

All Known Implementing Classes:
BinaryObservationProvider, ContinuousObservationProvider, SimpleObservationProvider

public interface ObservationStoreProvider

The ObservationStoreProvider class makes an observation store model available. This can include a schema, namespace, configuration template and an observation store.

Version:
$Revision: 26950 $, $Date: 2010-09-23 12:05:02 +0200 (Do, 23. Sep 2010) $
Author:
Andrei Ionita, last edited by: $Author: aionita $

Method Summary
 java.lang.String getConfigNamespace()
          Returns the namespace for configurations documents that this provider handles.
 java.net.URL getConfigSchema()
          Returns the URL for retrieving the configuration document schema.
 java.net.URL getConfigTemplate()
          Returns the URL for retrieving the configuration document template.
 ObservationDatastore getObservationStore(java.net.URL configURL)
          Creates a new ObservationDatastore instance from the given configuration document.
 

Method Detail

getConfigNamespace

java.lang.String getConfigNamespace()
Returns the namespace for configurations documents that this provider handles.

Returns:
the namespace for configurations documents, never null

getConfigSchema

java.net.URL getConfigSchema()
Returns the URL for retrieving the configuration document schema.

Returns:
the URL for retrieving the configuration document schema, may be null

getConfigTemplate

java.net.URL getConfigTemplate()
Returns the URL for retrieving the configuration document template.

Returns:
the URL for retrieving the configuration document template, may be null

getObservationStore

ObservationDatastore getObservationStore(java.net.URL configURL)
                                         throws ObservationDatastoreException
Creates a new ObservationDatastore instance from the given configuration document.

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.