|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.wps.provider.sextante.SextanteProcesslet
public class SextanteProcesslet
This class presents a Processlet
with a SEXTANTE GeoAlgorithm
Therefore this class must
differentiates all input and output parameters of a SEXTANTE GeoAlgorithm
.
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 . |
static void |
writeFeatureCollection(ComplexOutput gmlOutput,
Feature coll)
Writes a FeatureCollection . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void destroy()
Processlet
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.
destroy
in interface Processlet
public void init()
Processlet
ProcessManager
to indicate to a Processlet
that it is being placed into service.
init
in interface Processlet
public void process(ProcessletInputs in, ProcessletOutputs out, ProcessletExecutionInfo info) throws ProcessletException
Processlet
ProcessManager
to perform the execution of this Processlet
.
The typical workflow is:
in
parameterout
parameter
process
in interface Processlet
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
ProcessletException
- may be thrown by the processlet to indicate a processing exceptionpublic static void writeFeatureCollection(ComplexOutput gmlOutput, Feature coll) throws ProcessletException
FeatureCollection
.
gmlOutput
- - ComplexOutput
coll
- - FeatureCollection
ProcessletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |