Oracle BPEL Process Manager
Client API Reference
10g Release 2 (10.1.2)
B25709-01


com.oracle.services.bpel.task
Class DefaultTasklet

java.lang.Object
  extended bycom.oracle.services.bpel.task.DefaultTasklet

All Implemented Interfaces:
ITasklet

public class DefaultTasklet
extends java.lang.Object
implements ITasklet

Simple implementation of a tasklet.

Since:
2.0

Constructor Summary
DefaultTasklet()
           

 

Method Summary
 void init(java.util.Map props)
          Initializes the tasklet with the specified properties.
 void onComplete(ITask task)
          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 task)
          This method is invoked when a task is being initialized.
 void onUpdate(ITask task)
          This method is invoked when a task is being updated.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DefaultTasklet

public DefaultTasklet()

Method Detail

init

public void init(java.util.Map props)
Initializes the tasklet with the specified properties.
Specified by:
init in interface ITasklet

onInitiate

public void onInitiate(ITask task)
This method is invoked when a task is being initialized. This tasklet will set the title and assignee of the task from the template properties.
Specified by:
onInitiate in interface ITasklet
Parameters:
task - the task being initialized

onUpdate

public void onUpdate(ITask task)
This method is invoked when a task is being updated. No action is taken.
Specified by:
onUpdate in interface ITasklet
Parameters:
task - the task being updated

onComplete

public void onComplete(ITask task)
This method is invoked when a task is being completed. No action is taken.
Specified by:
onComplete in interface ITasklet
Parameters:
task - the task being completed

onExpire

public void onExpire(ITask task)
This method is invoked when a task is being expired. No action is taken.
Specified by:
onExpire in interface ITasklet

Oracle BPEL Process Manager
Client API Reference
10g Release 2 (10.1.2)
B25709-01


Copyright © 2005, Oracle. All rights reserved.