org.deegree.services.wps.provider
Interface ProcessProvider

All Known Implementing Classes:
JavaProcessProvider

public interface ProcessProvider

Implementations are responsible for making WPSProcess instances available to the ProcessManager.

Version:
$Revision: 25786 $, $Date: 2010-08-09 19:55:41 +0200 (Mo, 09. Aug 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Method Summary
 void destroy()
          Called by the container to indicate that this ProcessProvider instance is being taken out of service.
 WPSProcess getProcess(org.deegree.commons.tom.ows.CodeType id)
          Returns the process with the specified identifier.
 java.util.Map<org.deegree.commons.tom.ows.CodeType,WPSProcess> getProcesses()
          Returns all currently available processes.
 void init()
          Called by the container to indicate that this ProcessProvider instance is being placed into service.
 

Method Detail

init

void init()
          throws ServiceInitException
Called by the container to indicate that this ProcessProvider instance is being placed into service.

Throws:
ServiceInitException

destroy

void destroy()
Called by the container to indicate that this ProcessProvider instance is being taken out of service.


getProcesses

java.util.Map<org.deegree.commons.tom.ows.CodeType,WPSProcess> getProcesses()
Returns all currently available processes.

Returns:
all currently available processes, may be null or empty

getProcess

WPSProcess getProcess(org.deegree.commons.tom.ows.CodeType id)
Returns the process with the specified identifier.

Parameters:
id - identifier of the requested process, never null
Returns:
the process with the specified identifier, or null if no such process exists (anymore)


Copyright © 2011. All Rights Reserved.