public class MuleTasklet
extends java.lang.Object
implements org.soafaces.bundle.workflow.Tasklet
Constructor and Description |
---|
MuleTasklet() |
Modifier and Type | Method and Description |
---|---|
void |
onExecute(org.soafaces.bundle.workflow.TaskletInputContext inputContext,
org.soafaces.bundle.workflow.TaskletOutputContext outputContext)
Implement this method with virually any server-side code you want to execute.
|
public void onExecute(org.soafaces.bundle.workflow.TaskletInputContext inputContext, org.soafaces.bundle.workflow.TaskletOutputContext outputContext) throws org.soafaces.bundle.workflow.TaskletFailureException
org.soafaces.bundle.workflow.Tasklet
Implement this method with virually any server-side code you want to execute. The container executing the Tasklet will invoke this method once the Tasklet is ready for execution.
A Tasklet can optionally use an input JavaBean as input to use during the execution of this method. The Tasklet can also store any relavent output that it wishes to expose or feed to other Tasklet, in the form of an output JavaBean, that execute later on in the workflow/job chain.
onExecute
in interface org.soafaces.bundle.workflow.Tasklet
inputContext
- This context contains information related to the input state the
Tasklet is running in.outputContext
- This context contains information related to the output state the
Tasklet is running in.org.soafaces.bundle.workflow.TaskletFailureException
- Thrown by the Tasklet to stop processing of the Tasklet.
Based on how the Tasklet is configured, this exception can also stop
all processing of the job.Copyright © Grand Logic, Inc. All Rights Reserved.