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

org.deegree.ogcwebservices.wfs
Class WFServiceFactory

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

public class WFServiceFactory
extends java.lang.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(java.net.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(java.net.URL serviceConfigurationURL)
                             throws InvalidConfigurationException,
                                    java.io.IOException
Parameters:
serviceConfigurationURL -
Throws:
InvalidConfigurationException
java.io.IOException

getConfiguration

public static WFSConfiguration getConfiguration()
Returns:
CONFIG

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