public class EncStatefulBean extends Object implements javax.ejb.SessionBean, javax.ejb.SessionSynchronization
| Constructor and Description |
|---|
EncStatefulBean() |
| Modifier and Type | Method and Description |
|---|---|
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(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 |
lookupCharacterEntry() |
void |
lookupDoubleEntry() |
void |
lookupEntityBean() |
void |
lookupFloatEntry() |
void |
lookupIntegerEntry() |
void |
lookupJMSConnectionFactory() |
void |
lookupLongEntry() |
void |
lookupPersistenceContext() |
void |
lookupPersistenceUnit() |
void |
lookupResource() |
void |
lookupSessionContext() |
void |
lookupShortEntry() |
void |
lookupStatefulBean() |
void |
lookupStatefulBusinessLocal() |
void |
lookupStatefulBusinessLocalBean() |
void |
lookupStatefulBusinessRemote() |
void |
lookupStatelessBean() |
void |
lookupStatelessBusinessLocal() |
void |
lookupStatelessBusinessLocalBean() |
void |
lookupStatelessBusinessRemote() |
void |
lookupStringEntry() |
String |
remove(String arg) |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Set the associated session context.
|
public void ejbCreate(String name) throws javax.ejb.CreateException
name - javax.ejb.CreateExceptionEncStatefulHome.create(java.lang.String)public void lookupEntityBean()
throws TestFailureException
TestFailureExceptionpublic void lookupStatefulBean()
throws TestFailureException
TestFailureExceptionpublic void lookupStatelessBean()
throws TestFailureException
TestFailureExceptionpublic void lookupStatelessBusinessLocal()
throws TestFailureException
TestFailureExceptionpublic void lookupStatelessBusinessLocalBean()
throws TestFailureException
TestFailureExceptionpublic void lookupStatelessBusinessRemote()
throws TestFailureException
TestFailureExceptionpublic void lookupStatefulBusinessLocal()
throws TestFailureException
TestFailureExceptionpublic void lookupStatefulBusinessLocalBean()
throws TestFailureException
TestFailureExceptionpublic void lookupStatefulBusinessRemote()
throws TestFailureException
TestFailureExceptionpublic void lookupStringEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupDoubleEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupLongEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupFloatEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupIntegerEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupShortEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupBooleanEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupByteEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupCharacterEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupResource()
throws TestFailureException
TestFailureExceptionpublic void lookupJMSConnectionFactory()
throws TestFailureException
TestFailureExceptionpublic void lookupPersistenceUnit()
throws TestFailureException
TestFailureExceptionpublic void lookupPersistenceContext()
throws TestFailureException
TestFailureExceptionpublic void lookupSessionContext()
throws TestFailureException
TestFailureExceptionpublic void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException,
RemoteException
setSessionContext in interface javax.ejb.SessionBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbRemove()
throws javax.ejb.EJBException,
RemoteException
ejbRemove in interface javax.ejb.SessionBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbActivate()
throws javax.ejb.EJBException,
RemoteException
ejbActivate in interface javax.ejb.SessionBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbPassivate()
throws javax.ejb.EJBException,
RemoteException
ejbPassivate in interface javax.ejb.SessionBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void afterBegin()
throws javax.ejb.EJBException,
RemoteException
afterBegin in interface javax.ejb.SessionSynchronizationjavax.ejb.EJBExceptionRemoteExceptionpublic void beforeCompletion()
throws javax.ejb.EJBException,
RemoteException
beforeCompletion in interface javax.ejb.SessionSynchronizationjavax.ejb.EJBExceptionRemoteExceptionpublic void afterCompletion(boolean committed)
throws javax.ejb.EJBException,
RemoteException
afterCompletion in interface javax.ejb.SessionSynchronizationjavax.ejb.EJBExceptionRemoteExceptionCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.