org.deegree.ogcwebservices.wfs
Class WFServiceFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org