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

org.deegree.ogcwebservices.wms
Class WMServiceFactory

java.lang.Object
  extended by org.deegree.ogcwebservices.wms.WMServiceFactory

public final class WMServiceFactory
extends java.lang.Object

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

Method Summary
static WMService getService()
          Returns a new WMS service instance configured with a previously set default configuration.
static WMService getWMSInstance(WMSConfigurationType config)
          Creates a new WMS service instance configured with the given configuration.
static void setConfiguration(java.net.URL serviceConfigurationUrl)
          Sets the default configuration by URL.
static void setConfiguration(WMSConfigurationType wmsConfiguration)
          Sets the default configuration by value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWMSInstance

public static WMService getWMSInstance(WMSConfigurationType config)
Creates a new WMS service instance configured with the given configuration.

Parameters:
config -
Returns:
a new service instance

setConfiguration

public static void setConfiguration(WMSConfigurationType wmsConfiguration)
Sets the default configuration by value.

Parameters:
wmsConfiguration -

setConfiguration

public static void setConfiguration(java.net.URL serviceConfigurationUrl)
                             throws InvalidConfigurationException
Sets the default configuration by URL.

Parameters:
serviceConfigurationUrl -
Throws:
InvalidConfigurationException

getService

public static WMService getService()
Returns a new WMS service instance configured with a previously set default configuration.

Returns:
a new service instance

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