| |
|
| java.lang.Object org.apache.openejb.test.stateful.ContextLookupStatefulBean
afterBegin | public void afterBegin() throws EJBException, RemoteException(Code) | | 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.
|
afterCompletion | public void afterCompletion(boolean committed) throws EJBException, RemoteException(Code) | | 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.
|
beforeCompletion | public void beforeCompletion() throws EJBException, RemoteException(Code) | | The beforeCompletion method notifies a session Bean instance that
a transaction is about to be committed. The instance can use this
method, for example, to write any cached data to a database.
|
ejbActivate | public void ejbActivate() throws EJBException, RemoteException(Code) | | 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.
|
ejbCreate | public void ejbCreate(String name) throws CreateException(Code) | | Maps to EncStatefulHome.create
Parameters: name - throws: javax.ejb.CreateException - See Also: EncStatefulHome.create |
ejbPassivate | public void ejbPassivate() throws EJBException, RemoteException(Code) | | 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.
|
ejbRemove | public void ejbRemove() throws EJBException, RemoteException(Code) | | A container invokes this method before it ends the life of the session
object. This happens as a result of a client's invoking a remove
operation, or when a container decides to terminate the session object
after a timeout.
|
setSessionContext | public void setSessionContext(SessionContext ctx) throws EJBException, RemoteException(Code) | | Set the associated session context. The container calls this method
after the instance creation.
|
|
|
|