org.deegree.wps.jts
Class ConvexHullProcesslet

java.lang.Object
  extended by org.deegree.wps.jts.ConvexHullProcesslet
All Implemented Interfaces:
Processlet

public class ConvexHullProcesslet
extends Object
implements Processlet

The class TODO add class documentation here.

Version:
$Revision: 27446 $, $Date: 2010-10-20 15:26:29 +0200 (Wed, 20 Oct 2010) $
Author:
Andrei Ionita, last edited by: $Author: pabel $

Constructor Summary
ConvexHullProcesslet()
           
 
Method Summary
 void destroy()
          Called by the ProcessManager to indicate to a Processlet that it is being taken out of service.
 void init()
          Called by the ProcessManager to indicate to a Processlet that it is being placed into service.
 void process(ProcessletInputs in, ProcessletOutputs out, ProcessletExecutionInfo info)
          Called by the ProcessManager to perform the execution of this Processlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvexHullProcesslet

public ConvexHullProcesslet()
Method Detail

destroy

public void destroy()
Description copied from interface: Processlet
Called by the ProcessManager to indicate to a Processlet that it is being taken out of service.

This method gives the Processlet an opportunity to clean up any resources that are being held (for example, memory, file handles, threads) and make sure that any persistent state is synchronized with the Processlet's current state in memory.

Specified by:
destroy in interface Processlet

init

public void init()
Description copied from interface: Processlet
Called by the ProcessManager to indicate to a Processlet that it is being placed into service.

Specified by:
init in interface Processlet

process

public void process(ProcessletInputs in,
                    ProcessletOutputs out,
                    ProcessletExecutionInfo info)
             throws ProcessletException
Description copied from interface: Processlet
Called by the ProcessManager to perform the execution of this Processlet.

The typical workflow is:

  1. Get inputs from in parameter
  2. Parse inputs into the required format (e.g. GML)
  3. Do computation.
  4. Transform computational results into required format (e.g. GML)
  5. Write results to out parameter
Please consider the corresponding wiki howto.

Specified by:
process in interface Processlet
Parameters:
in - input arguments to be processed, never null
out - used to store the process outputs, never null
info - can be used to provide execution information, i.e. percentage completed and start/success messages that it wants to make known to clients, never null
Throws:
ProcessletException - may be thrown by the processlet to indicate a processing exception


Copyright © 2011. All Rights Reserved.