|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.beenthere.BeenThereBean
public class BeenThereBean
The implementation class for the BeenThere stateless session EJB.
BeenThereBean implements each of the business methods defined in the BeenThere EJB remote interface and each of the EJB lifecycle methods in the javax.ejb.SessionBean interface.
BeenThere
,
BeenThereHome
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
EJB_SERVER_NAME
|
static java.lang.String |
EJB_SERVER_NODE_NAME
|
static java.lang.String |
EJB_SERVER_PROCESS_ID
|
Constructor Summary | |
---|---|
BeenThereBean()
Creates a new BeenThereBean instance. |
Method Summary | |
---|---|
void |
ejbActivate()
The activate method is called when the instance is activated from its "passive" state. |
void |
ejbCreate()
Executed upon bean instance creation. |
void |
ejbPassivate()
The passivate method is called before the instance enters the "passive" state. |
void |
ejbPostCreate()
Executed after initial bean instance creation. |
void |
ejbRemove()
A container invokes this method before it ends the life of the session object. |
java.util.Hashtable |
getRuntimeEnvInfo()
Obtains a table that contains the node name, application server name and process ID, of where this EJB is executing. |
void |
setSessionContext(javax.ejb.SessionContext sessioncontext)
Sets the associated session context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String EJB_SERVER_NODE_NAME
public static java.lang.String EJB_SERVER_NAME
public static java.lang.String EJB_SERVER_PROCESS_ID
Constructor Detail |
---|
public BeenThereBean()
BeenThereBean
instance.
Method Detail |
---|
public void ejbCreate()
Obtains execution environment information and populates the table that gets
returned to the user when the getRuntimeEnvInfo
method is called.
public void ejbPostCreate()
No actions need to be taken for BeenThere.
public void setSessionContext(javax.ejb.SessionContext sessioncontext)
No actions need to be taken for BeenThere.
setSessionContext
in interface javax.ejb.SessionBean
sessioncontext
- Specifies the context for this session.public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void ejbActivate()
ejbPassivate
method.
No actions need to be taken for BeenThere.
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbActivate
method.
No actions need to be taken for BeenThere.
ejbPassivate
in interface javax.ejb.SessionBean
public java.util.Hashtable getRuntimeEnvInfo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |