|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.scheduler.accountreportejb.TaskCreatorBean
public class TaskCreatorBean
The TaskCreatorBean class implements the TaskCreator Enterprise Java Bean.
Constructor Summary | |
---|---|
TaskCreatorBean()
|
Method Summary | |
---|---|
void |
ejbActivate()
A container invokes this method when the instance is taken out of the pool of available instances to become associated with a specific EJB object. |
void |
ejbCreate()
A container invokes this method when it creates the EJB object |
void |
ejbPassivate()
A container invokes this method on an instance before the instance becomes disassociated with a specific EJB object. |
void |
ejbRemove()
A container invokes this method before it removes the EJB object that is currently associated with the instance. |
void |
scheduleTask(java.lang.String startInterval,
int numberOfRepeats,
java.lang.String repeatInterval)
Method scheduleTask. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Set the associated session context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskCreatorBean()
Method Detail |
---|
public void scheduleTask(java.lang.String startInterval, int numberOfRepeats, java.lang.String repeatInterval) throws com.ibm.websphere.scheduler.SchedulerException
startInterval
- numberOfRepeats
- repeatInterval
-
com.ibm.websphere.scheduler.SchedulerException
public void ejbCreate() throws javax.ejb.CreateException
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.
javax.ejb.CreateException
- thrown if the instance cannot be createdpublic void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.public void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext
in interface javax.ejb.SessionBean
ctx
- A SessionContext interface for the instance. The instance should store the reference
to the context in an instance variable.
javax.ejb.EJBException
- Thrown by the method to indicate a failure caused by a system-level error.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |