public class ContainerTxSingletonBean extends Object implements javax.ejb.SessionBean
| Modifier and Type | Field and Description |
|---|---|
String |
jndiDatabaseEntry |
| Constructor and Description |
|---|
ContainerTxSingletonBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
ejbActivate()
The activate method is called when the instance is activated
from its "passive" state.
|
void |
ejbCreate() |
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 |
openAccount(Account acct,
Boolean rollback) |
String |
remove(String arg) |
Account |
retreiveAccount(String ssn) |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Set the associated session context.
|
String |
txMandatoryMethod(String message) |
String |
txNeverMethod(String message) |
String |
txNotSupportedMethod(String message) |
String |
txRequiredMethod(String message) |
String |
txRequiresNewMethod(String message) |
String |
txSupportsMethod(String message) |
public final String jndiDatabaseEntry
public void openAccount(Account acct, Boolean rollback) throws RollbackException
RollbackExceptionpublic void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic 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.EJBExceptionRemoteExceptionCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.