org.deegree.services.wps
Class ProcessManager
java.lang.Object
org.deegree.commons.config.AbstractBasicResourceManager
org.deegree.commons.config.AbstractResourceManager<ProcessProvider>
org.deegree.services.wps.ProcessManager
- All Implemented Interfaces:
- ExtendedResourceManager<ProcessProvider>, ResourceManager
public class ProcessManager
- extends AbstractResourceManager<ProcessProvider>
Manages the available WPSProcess
instances and ProcessProvider
s for the WPService
- Version:
- $Revision: $, $Date: $
- Author:
- Alexander Padberg, Markus Schneider, last edited by: $Author: schneider $
- See Also:
WPService
Methods inherited from class org.deegree.commons.config.AbstractResourceManager |
activate, add, create, deactivate, get, getProvider, processResourceConfig, remove, remove, shutdown, startup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessManager
public ProcessManager()
getProcesses
public Map<CodeType,WPSProcess> getProcesses()
- Returns all available processes.
- Returns:
- available process, may be empty, but never
null
getProcess
public WPSProcess getProcess(CodeType id)
- Returns the process with the specified identifier.
- Parameters:
id
- identifier of the process, must not be null
- Returns:
- process with the specified identifier or
null
if no such process exists
getDependencies
public Class<? extends ResourceManager>[] getDependencies()
- Returns:
- an empty array if there are no dependencies
getMetadata
public ResourceManagerMetadata<ProcessProvider> getMetadata()
- Returns:
- a metadata object for use in GUIs, may be null
initMetadata
public void initMetadata(DeegreeWorkspace workspace)
- Description copied from interface:
ExtendedResourceManager
- Initializes the metadata (can be used to scan for resource providers, important so transitive dependencies work).
Copyright © 2011. All Rights Reserved.