Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


com.oracle.services.bpel.task
Class DefaultTasklet

java.lang.Object
  extended by com.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

Field Summary
protected  java.util.Map mTemplateProps
           

 

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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

mTemplateProps

protected java.util.Map mTemplateProps

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:
tr - 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:
tr - 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:
tr - 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
Parameters:
tr - the task being expired

Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


Copyright © 2006, Oracle. All rights reserved.