|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITasklet
This interface allows the user to execute custom code whenever certain events occur with a task. New tasklet objects are instantiated for each task event; hence, all tasklet implementations should be stateless.
Method Summary | |
---|---|
void |
init(java.util.Map properties) Initializes the tasklet with the properties specified in the task template. |
void |
onComplete(ITask tr) This method is invoked when a task is being completed. |
void |
onExpire(ITask task) This method is invoked when a task is being expired. |
void |
onInitiate(ITask tr) This method is invoked when a task is being initialized. |
void |
onUpdate(ITask tr) This method is invoked when a task is being updated. |
Method Detail |
---|
void init(java.util.Map properties)
void onInitiate(ITask tr) throws java.lang.Exception
tr
- the task being initializedjava.lang.Exception
- if there is an exception while initializing the task.void onUpdate(ITask tr) throws java.lang.Exception
tr
- the task being updatedjava.lang.Exception
- if there is an exception while updating the task.void onComplete(ITask tr) throws java.lang.Exception
tr
- the task being completedjava.lang.Exception
- if there is an exception while completing the task.void onExpire(ITask task) throws java.lang.Exception
tr
- the task being expiredjava.lang.Exception
- if there is an exception while expiring the task.
|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |