com.ibm.websphere.samples.scheduler.accountreportejb
Interface TaskCreator

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

public interface TaskCreator
extends javax.ejb.EJBObject

The remote interface for the TaskCreator session bean.

See Also:
TaskCreatorHome, TaskCreatorBean

Method Summary
 void scheduleTask(java.lang.String startInterval, int numberOfRepeats, java.lang.String repeatInterval)
          Schedules a task using the given options
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

scheduleTask

void scheduleTask(java.lang.String startInterval,
                  int numberOfRepeats,
                  java.lang.String repeatInterval)
                  throws com.ibm.websphere.scheduler.SchedulerException,
                         java.rmi.RemoteException
Schedules a task using the given options

Parameters:
startInterval -
numberOfRepeats -
repeatInterval -
Throws:
com.ibm.websphere.scheduler.SchedulerException - thrown if there was a failure scheduling the event
java.rmi.RemoteException - thrown if a communication failure occurs