deegree-services-3.0-pre-nightly (2010/03/05 00:04) - official

org.deegree.services.wps
Class WPService

java.lang.Object
  extended by org.deegree.services.wps.WPService

public class WPService
extends Object

Version:
$Revision: $, $Date: $
Author:
Alexander Padberg, Markus Schneider, last edited by: $Author: schneider $

Constructor Summary
WPService(Collection<ProcessDefinition> processDefinitions)
          Creates a new WPService instance with the given configuration.
 
Method Summary
 void destroy()
           
 ProcessDefinition[] getAllProcessDefinitions()
           
 Processlet[] getAllProcesses()
          Returns all registered processes.
 Map<org.deegree.commons.types.ows.CodeType,ExceptionCustomizer> getCustomExceptionHandlers()
           
 Processlet getProcess(org.deegree.commons.types.ows.CodeType identifier)
          Returns the process with the given identifier.
 ProcessDefinition getProcessDefinition(org.deegree.commons.types.ows.CodeType identifier)
           
 Map<org.deegree.commons.types.ows.CodeType,ProcessDefinition> getProcessDefinitions()
           
 Map<org.deegree.commons.types.ows.CodeType,Processlet> getProcesses()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WPService

public WPService(Collection<ProcessDefinition> processDefinitions)
          throws ServiceInitException
Creates a new WPService instance with the given configuration.

Parameters:
processDefinitions -
Throws:
ServiceInitException - if a process class in the configuration could not be initialized
Method Detail

getAllProcesses

public Processlet[] getAllProcesses()
Returns all registered processes.

Returns:
all registered processes

getProcess

public Processlet getProcess(org.deegree.commons.types.ows.CodeType identifier)
Returns the process with the given identifier.

Parameters:
identifier -
Returns:
the process with the given identifier

getProcessDefinitions

public Map<org.deegree.commons.types.ows.CodeType,ProcessDefinition> getProcessDefinitions()

getAllProcessDefinitions

public ProcessDefinition[] getAllProcessDefinitions()

getProcessDefinition

public ProcessDefinition getProcessDefinition(org.deegree.commons.types.ows.CodeType identifier)

destroy

public void destroy()

getProcesses

public Map<org.deegree.commons.types.ows.CodeType,Processlet> getProcesses()
Returns:
the map containing all process and their respective id's. This is the live map, altering the map will result in an inconsistent state of the WPService.

getCustomExceptionHandlers

public Map<org.deegree.commons.types.ows.CodeType,ExceptionCustomizer> getCustomExceptionHandlers()
Returns:
the map containing all processlet (id's) which supplied an ExceptionCustomizer . This is the live map, altering the map will result in an inconsistent state of the WPService. The result maybe empty, but never null

deegree-services-3.0-pre-nightly (2010/03/05 00:04) - official

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

]]>