public interface TaskHandler
extends javax.ejb.EJBObject
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.
TaskHandlerHome
,
BeanTaskInfo.setTaskHandler(com.ibm.websphere.scheduler.TaskHandlerHome)
Modifier and Type | Method and Description |
---|---|
void |
process(TaskStatus task)
Called when a scheduled
BeanTaskInfo fires. |
void process(TaskStatus task) throws java.rmi.RemoteException
BeanTaskInfo
fires.task
- the current TaskStatus
for the scheduled task.java.rmi.RemoteException
BeanTaskInfo