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

org.deegree.ogcwebservices.wpvs
Class WPVServiceFactory

java.lang.Object
  extended by org.deegree.ogcwebservices.wpvs.WPVServiceFactory

public class WPVServiceFactory
extends java.lang.Object

Factory class for creating instances of WFService.

Author:
Ugo Taddei, last edited by: $Author: mschneider $ $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $

Method Summary
static WPVService createInstance()
          Creates an instance of a WPVService
static WPVService getInstance(WPVSConfiguration config)
          Creates a new instance of a WPVService based on config
static void setConfiguration(java.net.URL serviceConfigurationURL)
          Sets the service configuration used in this object to be that pointed at by the serviceConfigurationURL
static void setConfiguration(WPVSConfiguration wpvsConfiguration)
          Sets the WPVSConfiguration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createInstance

public static WPVService createInstance()
Creates an instance of a WPVService

Returns:
a wpvService class with the WPVSConfiguration if the WPVSConfiguration == null null will be returned.

getInstance

public static WPVService getInstance(WPVSConfiguration config)
Creates a new instance of a WPVService based on config

Parameters:
config - the configuration object used to initalize the new instance
Returns:
a new WPVService Instance, instantiated with the given WPVSConfiguration

setConfiguration

public static void setConfiguration(WPVSConfiguration wpvsConfiguration)
Sets the WPVSConfiguration. Afterwards, all WPVSService instances returned by createInstance() will use this configuration.

Parameters:
wpvsConfiguration -

setConfiguration

public static void setConfiguration(java.net.URL serviceConfigurationURL)
                             throws InvalidConfigurationException,
                                    java.io.IOException
Sets the service configuration used in this object to be that pointed at by the serviceConfigurationURL

Parameters:
serviceConfigurationURL - the URL pointing at the configuration file for a WPV Service
Throws:
InvalidConfigurationException - if the configuration is invalid
java.io.IOException

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