deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.csw
Class CSWFactory

java.lang.Object
  extended by org.deegree.ogcwebservices.csw.CSWFactory

public final class CSWFactory
extends java.lang.Object

Service factory to create a catalog service.

Version:
2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Torsten Friebe , Markus Schneider , last edited by: $Author: mschneider $
To do:
all instances of the service should be pooled.

Method Summary
static CatalogueService getService()
           
static CatalogueService getUncachedService(CatalogueConfiguration config)
           
static void reset()
           
static void setConfiguration(CatalogueConfiguration catalogConfiguration)
          must be synchronized
static void setConfiguration(java.net.URL serviceConfigurationUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setConfiguration

public static void setConfiguration(CatalogueConfiguration catalogConfiguration)
must be synchronized

Parameters:
catalogConfiguration -

setConfiguration

public static void setConfiguration(java.net.URL serviceConfigurationUrl)
                             throws InvalidConfigurationException
Parameters:
serviceConfigurationUrl -
Throws:
InvalidConfigurationException

getService

public static CatalogueService getService()
                                   throws OGCWebServiceException
Returns:
a new service
Throws:
OGCWebServiceException
To do:

getUncachedService

public static CatalogueService getUncachedService(CatalogueConfiguration config)
                                           throws OGCWebServiceException
Parameters:
config -
Returns:
a new service
Throws:
OGCWebServiceException

reset

public static void reset()

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org