|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.websphere.samples.asynchbeans.wstrader.pricegen.ejb.PriceGenBootstrapBean
public class PriceGenBootstrapBean
This is a startup bean that kicks off the price publishers when the enterprise application starts.
| Constructor Summary | |
|---|---|
PriceGenBootstrapBean()
|
|
| Method Summary | |
|---|---|
void |
ejbActivate()
ejbActivate |
void |
ejbCreate()
ejbCreate |
void |
ejbPassivate()
|
void |
ejbRemove()
ejbRemove |
javax.ejb.SessionContext |
getSessionContext()
getSessionContext |
void |
setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext |
boolean |
start()
Start the Price Publishers when the application starts. |
void |
stop()
This stops the publishers when the application stops. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PriceGenBootstrapBean()
| Method Detail |
|---|
public javax.ejb.SessionContext getSessionContext()
public void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext in interface javax.ejb.SessionBeanpublic void ejbActivate()
ejbActivate in interface javax.ejb.SessionBean
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic void ejbPassivate()
ejbPassivate in interface javax.ejb.SessionBeanpublic void ejbRemove()
ejbRemove in interface javax.ejb.SessionBeanpublic boolean start()
public void stop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||