org.deegree.services.wps.provider
Class JavaProcessProvider

java.lang.Object
  extended by org.deegree.services.wps.provider.JavaProcessProvider
All Implemented Interfaces:
ProcessProvider

public class JavaProcessProvider
extends java.lang.Object
implements ProcessProvider

ProcessProvider for hand-crafted Java processes with hand-crafted process descriptions.

Version:
$Revision: 28096 $, $Date: 2010-11-12 14:55:46 +0100 (Fr, 12. Nov 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public void init()
          throws ServiceInitException
Description copied from interface: ProcessProvider
Called by the container to indicate that this ProcessProvider instance is being placed into service.

Specified by:
init in interface ProcessProvider
Throws:
ServiceInitException

destroy

public void destroy()
Description copied from interface: ProcessProvider
Called by the container to indicate that this ProcessProvider instance is being taken out of service.

Specified by:
destroy in interface ProcessProvider

getProcess

public WPSProcess getProcess(org.deegree.commons.tom.ows.CodeType id)
Description copied from interface: ProcessProvider
Returns the process with the specified identifier.

Specified by:
getProcess in interface ProcessProvider
Parameters:
id - identifier of the requested process, never null
Returns:
the process with the specified identifier, or null if no such process exists (anymore)

getProcesses

public java.util.Map<org.deegree.commons.tom.ows.CodeType,WPSProcess> getProcesses()
Description copied from interface: ProcessProvider
Returns all currently available processes.

Specified by:
getProcesses in interface ProcessProvider
Returns:
all currently available processes, may be null or empty


Copyright © 2011. All Rights Reserved.