deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wfs
Class WFServiceFactory

java.lang.Object
  extended by org.deegree.ogcwebservices.wfs.WFServiceFactory

public class WFServiceFactory
extends Object

Factory class for creating instances of WFService. TODO manage several instances of different WFServices in a pool

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth , last edited by: $Author: mschneider $
See Also:
WFService

Method Summary
static WFService createInstance()
           
static WFService createInstance(WFSConfiguration wfsConfiguration)
           
static WFSConfiguration getConfiguration()
           
static void setConfiguration(URL serviceConfigurationURL)
           
static void setConfiguration(WFSConfiguration config)
          Sets the WFSConfiguration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createInstance

public static WFService createInstance()
                                throws OGCWebServiceException
Returns:
a WFService instance.
Throws:
OGCWebServiceException

createInstance

public static WFService createInstance(WFSConfiguration wfsConfiguration)
                                throws OGCWebServiceException
Parameters:
wfsConfiguration -
Returns:
a WFSService instance created from the given configuration.
Throws:
OGCWebServiceException

setConfiguration

public static void setConfiguration(WFSConfiguration config)
                             throws InvalidConfigurationException
Sets the WFSConfiguration. Afterwards, all WFService instances returned by createInstance() will use this configuration.

Parameters:
config -
Throws:
InvalidConfigurationException

setConfiguration

public static void setConfiguration(URL serviceConfigurationURL)
                             throws InvalidConfigurationException,
                                    IOException
Parameters:
serviceConfigurationURL -
Throws:
InvalidConfigurationException
IOException

getConfiguration

public static WFSConfiguration getConfiguration()
Returns:
CONFIG

deegree 2.3 (2010/04/09 10:10 build-4-official)

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