|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.util.ejb.EnterpriseSupport (src)
org.jboss.test.util.ejb.SessionSupport (src)
org.jboss.test.cts.ejb.BMTStatefulSessionBean
The stateful session ejb implementation
| Field Summary |
| Fields inherited from class org.jboss.test.util.ejb.SessionSupport (src) |
sessionCtx |
| Constructor Summary | |
BMTStatefulSessionBean()
|
|
| Method Summary | |
void |
createLocalEntity(AccountPK (src) pk,
java.lang.String personsName)
|
void |
createSessionHandle()
|
void |
createSessionRef()
|
void |
createStatefulSessionHandle(java.lang.String testName)
|
void |
decCounter()
|
void |
ejbActivate()
The activate method is called when the instance is activated from its "passive" state. |
void |
ejbCreate(java.lang.String testName)
|
void |
ejbCreateAlt(java.lang.String testName)
|
void |
ejbPassivate()
The passivate method is called before the instance enters the "passive" state. |
BeanContextInfo (src) |
getBeanContextInfo()
|
int |
getCounter()
|
Handle (src) |
getHandle()
|
java.lang.String |
getTestName()
|
boolean |
getWasActivated()
|
boolean |
getWasPassivated()
|
void |
incCounter()
|
void |
loopbackTest()
|
void |
loopbackTest(EJBObject (src) obj)
|
java.lang.String |
method1(java.lang.String msg)
|
void |
ping()
|
java.lang.String |
readAndRemoveEntity()
|
void |
setCounter(int value)
|
void |
sleep(long wait)
|
java.lang.String |
useSessionHandle(java.lang.String arg)
|
java.lang.String |
useSessionRef()
|
void |
useStatefulSessionHandle()
|
| Methods inherited from class org.jboss.test.util.ejb.SessionSupport (src) |
ejbCreate, ejbRemove, setSessionContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BMTStatefulSessionBean()
| Method Detail |
public void ejbCreate(java.lang.String testName)
public void ejbCreateAlt(java.lang.String testName)
public void ejbActivate()
SessionBean (src) The activate method is called when the instance is activated from its "passive" state. The instance should acquire any resource that it has released earlier in the ejbPassivate() method.
This method is called with no transaction context.
ejbActivate in interface SessionBean (src) ejbActivate in class SessionSupport (src) public void ejbPassivate()
SessionBean (src) The passivate method is called before the instance enters the "passive" state. The instance should release any resources that it can re-acquire later in the ejbActivate() method.
After the passivate method completes, the instance must be in a state that allows the container to use the Java Serialization protocol to externalize and store away the instance's state.
This method is called with no transaction context.
ejbPassivate in interface SessionBean (src) ejbPassivate in class SessionSupport (src) public java.lang.String getTestName()
public java.lang.String method1(java.lang.String msg)
public void incCounter()
public void decCounter()
public int getCounter()
public void setCounter(int value)
public BeanContextInfo (src) getBeanContextInfo()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void loopbackTest()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void loopbackTest(EJBObject (src) obj)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void ping()
public void sleep(long wait)
public boolean getWasActivated()
public boolean getWasPassivated()
public void createLocalEntity(AccountPK (src) pk,
java.lang.String personsName)
throws CreateException (src)
CreateException (src)
public java.lang.String readAndRemoveEntity()
throws RemoveException (src)
RemoveException (src) public void createSessionHandle()
public java.lang.String useSessionHandle(java.lang.String arg)
public void createStatefulSessionHandle(java.lang.String testName)
public void useStatefulSessionHandle()
public void createSessionRef()
throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String useSessionRef()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic Handle (src) getHandle()
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||