|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.ibm.websphere.samples.scheduler.accountreportejb.ReportGeneratorBean
public class ReportGeneratorBean
Implements the ReportHandler Enterprise Java Bean. The ReportHandler EJB is a TaskHandler session bean which is the target of a scheduled task.
| Constructor Summary | |
|---|---|
ReportGeneratorBean()
|
|
| 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 |
process(com.ibm.websphere.scheduler.TaskStatus status)
Accumulates the current account balances and inserts a row into the report table. |
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 ReportGeneratorBean()
| Method Detail |
|---|
public void process(com.ibm.websphere.scheduler.TaskStatus status)
status - The current status of the task. This parameter is ignored.
public void ejbCreate()
throws javax.ejb.CreateException
EJBException - Thrown by the method to indicate a failure caused by a system-level error.
javax.ejb.CreateExceptionpublic void ejbActivate()
ejbActivate in interface javax.ejb.SessionBeanEJBException - Thrown by the method to indicate a failure caused by a system-level error.public void ejbPassivate()
ejbPassivate in interface javax.ejb.SessionBeanEJBException - Thrown by the method to indicate a failure caused by a system-level error.public void ejbRemove()
ejbRemove in interface javax.ejb.SessionBeanEJBException - 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.SessionBeanctx - A SessionContext interface for the instance. The instance should store the reference
to the context in an instance variable.
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 | |||||||