org.deegree.observation.persistence
Class ObservationStoreManager

java.lang.Object
  extended by org.deegree.observation.persistence.ObservationStoreManager

public class ObservationStoreManager
extends java.lang.Object

The class TODO add class documentation here.

Version:
$Revision: 28115 $, $Date: 2010-11-12 17:41:15 +0100 (Fr, 12. Nov 2010) $
Author:
Andrei Ionita, last edited by: $Author: aschmitz $

Constructor Summary
ObservationStoreManager()
           
 
Method Summary
static boolean containsDatastore(java.lang.String datastoreId)
           
static void destroy()
           
static ObservationDatastore get(java.lang.String id)
          Returns the ObservationDatastore instance with the specified identifier.
static java.util.Collection<ObservationDatastore> getAll()
          Returns all active ObservationDatastores.
static ObservationDatastore getDatastoreById(java.lang.String datastoreId)
           
static java.util.Map<java.lang.String,ObservationStoreProvider> getProviders()
          Returns all available providers.
static void init(java.io.File osDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObservationStoreManager

public ObservationStoreManager()
Method Detail

init

public static void init(java.io.File osDir)
Parameters:
osDir -

get

public static ObservationDatastore get(java.lang.String id)
Returns the ObservationDatastore instance with the specified identifier.

Parameters:
id - identifier of the observation store instance
Returns:
the corresponding ObservationDatastore instance or null if no such instance has been created

getAll

public static java.util.Collection<ObservationDatastore> getAll()
Returns all active ObservationDatastores.

Returns:
the ObservationDatastores instance, may be empty but never null

getProviders

public static java.util.Map<java.lang.String,ObservationStoreProvider> getProviders()
Returns all available providers.


getDatastoreById

public static ObservationDatastore getDatastoreById(java.lang.String datastoreId)
                                             throws ObservationDatastoreException
Parameters:
datastoreId -
Returns:
a new store
Throws:
ObservationDatastoreException

containsDatastore

public static boolean containsDatastore(java.lang.String datastoreId)
Parameters:
datastoreId -
Returns:
true, if it does

destroy

public static void destroy()


Copyright © 2011. All Rights Reserved.