org.deegree.services.wps.provider
Class JavaProcessProvider

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

public class JavaProcessProvider
extends Object
implements ProcessProvider

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

Version:
$Revision: 29972 $, $Date: 2011-03-09 23:50:45 +0100 (Wed, 09 Mar 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Method Summary
 void destroy()
          Usually called by the ResourceManager upon workspace shutdown.
 WPSProcess getProcess(CodeType id)
          Returns the process with the specified identifier.
 Map<CodeType,WPSProcess> getProcesses()
          Returns all currently available processes.
 void init(DeegreeWorkspace workspace)
          Usually called by the ResourceManager upon workspace startup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public void init(DeegreeWorkspace workspace)
          throws ResourceInitException
Description copied from interface: Resource
Usually called by the ResourceManager upon workspace startup.

Specified by:
init in interface Resource
Parameters:
workspace - the workspace the resource belongs to, may be null
Throws:
ResourceInitException

destroy

public void destroy()
Description copied from interface: Resource
Usually called by the ResourceManager upon workspace shutdown.

Specified by:
destroy in interface Resource

getProcess

public WPSProcess getProcess(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 Map<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.