|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.test.stateful.EncStatefulBean
public class EncStatefulBean
Constructor Summary | |
---|---|
EncStatefulBean()
|
Method Summary | |
---|---|
void |
afterBegin()
The afterBegin method notifies a session Bean instance that a new transaction has started, and that the subsequent business methods on the instance will be invoked in the context of the transaction. |
void |
afterCompletion(boolean committed)
The afterCompletion method notifies a session Bean instance that a transaction commit protocol has completed, and tells the instance whether the transaction has been committed or rolled back. |
void |
beforeCompletion()
The beforeCompletion method notifies a session Bean instance that a transaction is about to be committed. |
void |
ejbActivate()
The activate method is called when the instance is activated from its "passive" state. |
void |
ejbCreate(java.lang.String name)
Maps to EncStatefulHome.create |
void |
ejbPassivate()
The passivate method is called before the instance enters the "passive" state. |
void |
ejbRemove()
A container invokes this method before it ends the life of the session object. |
void |
lookupBooleanEntry()
|
void |
lookupByteEntry()
|
void |
lookupDoubleEntry()
|
void |
lookupEntityBean()
|
void |
lookupFloatEntry()
|
void |
lookupIntegerEntry()
|
void |
lookupLongEntry()
|
void |
lookupResource()
|
void |
lookupShortEntry()
|
void |
lookupStatefulBean()
|
void |
lookupStatelessBean()
|
void |
lookupStringEntry()
|
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 EncStatefulBean()
Method Detail |
---|
public void ejbCreate(java.lang.String name) throws javax.ejb.CreateException
name
-
javax.ejb.CreateException
EncStatefulHome.create
public void lookupEntityBean() throws TestFailureException
TestFailureException
public void lookupStatefulBean() throws TestFailureException
TestFailureException
public void lookupStatelessBean() throws TestFailureException
TestFailureException
public void lookupStringEntry() throws TestFailureException
TestFailureException
public void lookupDoubleEntry() throws TestFailureException
TestFailureException
public void lookupLongEntry() throws TestFailureException
TestFailureException
public void lookupFloatEntry() throws TestFailureException
TestFailureException
public void lookupIntegerEntry() throws TestFailureException
TestFailureException
public void lookupShortEntry() throws TestFailureException
TestFailureException
public void lookupBooleanEntry() throws TestFailureException
TestFailureException
public void lookupByteEntry() throws TestFailureException
TestFailureException
public void lookupResource() throws TestFailureException
TestFailureException
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException, java.rmi.RemoteException
setSessionContext
in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbRemove
in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbActivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbPassivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public void afterBegin() throws javax.ejb.EJBException, java.rmi.RemoteException
afterBegin
in interface javax.ejb.SessionSynchronization
javax.ejb.EJBException
java.rmi.RemoteException
public void beforeCompletion() throws javax.ejb.EJBException, java.rmi.RemoteException
beforeCompletion
in interface javax.ejb.SessionSynchronization
javax.ejb.EJBException
java.rmi.RemoteException
public void afterCompletion(boolean committed) throws javax.ejb.EJBException, java.rmi.RemoteException
afterCompletion
in interface javax.ejb.SessionSynchronization
javax.ejb.EJBException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |