com.ibm.websphere.scheduler
Interface TaskHandler
-
- All Superinterfaces:
- javax.ejb.EJBObject, java.rmi.Remote
public interface TaskHandler extends javax.ejb.EJBObjectThe remote interface for all TaskHandler stateless session beans.A TaskHandler bean is the EJB that is invoked when a scheduled task fires on a
BeanTaskInfotask. When this happens, theprocessmethod is called with the the currentTaskStatustask state. All TaskHandlers are required to use this remote interface and thecom.ibm.websphere.scheduler.TaskHandlerHomehome interface.- Since:
- 5.0
- Version:
- 5.0
- See Also:
TaskHandlerHome,BeanTaskInfo.setTaskHandler(com.ibm.websphere.scheduler.TaskHandlerHome)
-
-
Method Summary
Methods Modifier and Type Method and Description voidprocess(TaskStatus task)Called when a scheduledBeanTaskInfofires.
-
-
-
Method Detail
-
process
void process(TaskStatus task) throws java.rmi.RemoteException
Called when a scheduledBeanTaskInfofires.- Parameters:
task- the currentTaskStatusfor the scheduled task.- Throws:
java.rmi.RemoteException- Since:
- 5.0
- See Also:
BeanTaskInfo
-
-