org.deegree.services.wps
Class GenericWPSProcess

java.lang.Object
  extended by org.deegree.services.wps.GenericWPSProcess
All Implemented Interfaces:
WPSProcess

public class GenericWPSProcess
extends java.lang.Object
implements WPSProcess

Generic WPSProcess implementation.

Version:
$Revision: 28096 $, $Date: 2010-11-12 14:55:46 +0100 (Fr, 12. Nov 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
GenericWPSProcess(ProcessDefinition description, Processlet processlet)
          Creates a new GenericWPSProcess instance.
GenericWPSProcess(ProcessDefinition description, Processlet processlet, ExceptionCustomizer exceptionCustomizer)
          Creates a new GenericWPSProcess instance with ExceptionCustomizer.
 
Method Summary
 ProcessDefinition getDescription()
          Returns the description (e.g. parameter types, metadata) of the process.
 ExceptionCustomizer getExceptionCustomizer()
          Returns the exception customizer for the process.
 Processlet getProcesslet()
          Returns the Processlet (process code) instance of the process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericWPSProcess

public GenericWPSProcess(ProcessDefinition description,
                         Processlet processlet)
Creates a new GenericWPSProcess instance.

Parameters:
description - description of the process (e.g. parameter types, metadata), must not be null
processlet - process code, must not be null

GenericWPSProcess

public GenericWPSProcess(ProcessDefinition description,
                         Processlet processlet,
                         ExceptionCustomizer exceptionCustomizer)
Creates a new GenericWPSProcess instance with ExceptionCustomizer.

Parameters:
description - description of the process (e.g. parameter types, metadata), must not be null
processlet - process code, must not be null
exceptionCustomizer - exception customizer, can be null (use default exception generation)
Method Detail

getDescription

public ProcessDefinition getDescription()
Description copied from interface: WPSProcess
Returns the description (e.g. parameter types, metadata) of the process.

Specified by:
getDescription in interface WPSProcess
Returns:
the description, never null

getProcesslet

public Processlet getProcesslet()
Description copied from interface: WPSProcess
Returns the Processlet (process code) instance of the process.

Specified by:
getProcesslet in interface WPSProcess
Returns:
the processlet, never null

getExceptionCustomizer

public ExceptionCustomizer getExceptionCustomizer()
Description copied from interface: WPSProcess
Returns the exception customizer for the process.

Specified by:
getExceptionCustomizer in interface WPSProcess
Returns:
exception customizer, can be null


Copyright © 2011. All Rights Reserved.