com.ibm.websphere.scheduler

Interface TaskHandler

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

  1. public interface TaskHandler
  2. extends javax.ejb.EJBObject
The remote interface for all TaskHandler stateless session beans.

A TaskHandler bean is the EJB that is invoked when a scheduled task fires on a BeanTaskInfo task. When this happens, the process method is called with the the current TaskStatus task state. All TaskHandlers are required to use this remote interface and the com.ibm.websphere.scheduler.TaskHandlerHome home interface.

Since:
5.0
Version:
5.0
See Also:
TaskHandlerHome, BeanTaskInfo.setTaskHandler(com.ibm.websphere.scheduler.TaskHandlerHome)

Method Summary

Modifier and Type Method and Description
  1. void
process(TaskStatus task)
Called when a scheduled BeanTaskInfo fires.
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove

Method Detail

process

  1. void process(TaskStatus task)
  2. throws java.rmi.RemoteException
Called when a scheduled BeanTaskInfo fires.
Parameters:
task - the current TaskStatus for the scheduled task.
Throws:
java.rmi.RemoteException
Since:
5.0
See Also: