|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openejb.test.stateful.BeanTxStatefulBean
public class BeanTxStatefulBean
| Field Summary | |
|---|---|
String |
jndiDatabaseEntry
|
| Constructor Summary | |
|---|---|
BeanTxStatefulBean()
|
|
| Method Summary | |
|---|---|
void |
ejbActivate()
The activate method is called when the instance is activated from its "passive" state. |
void |
ejbCreate(String name)
Maps to BasicStatefulHome.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. |
Transaction |
getUserTransaction()
Maps to BasicStatefulObject.businessMethod |
Transaction |
jndiUserTransaction()
|
void |
openAccount(Account acct,
Boolean rollback)
|
Account |
retreiveAccount(String ssn)
|
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 |
| Field Detail |
|---|
public final String jndiDatabaseEntry
| Constructor Detail |
|---|
public BeanTxStatefulBean()
| Method Detail |
|---|
public void ejbCreate(String name)
throws javax.ejb.CreateException
name -
javax.ejb.CreateExceptionBasicStatefulHome.create
public Transaction getUserTransaction()
throws RemoteException
RemoteExceptionBasicStatefulObject.businessMethod
public Transaction jndiUserTransaction()
throws RemoteException
RemoteException
public void openAccount(Account acct,
Boolean rollback)
throws RemoteException,
RollbackException
RemoteException
RollbackException
public Account retreiveAccount(String ssn)
throws RemoteException
RemoteException
public void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException,
RemoteException
setSessionContext in interface javax.ejb.SessionBeanjavax.ejb.EJBException
RemoteException
public void ejbRemove()
throws javax.ejb.EJBException,
RemoteException
ejbRemove in interface javax.ejb.SessionBeanjavax.ejb.EJBException
RemoteException
public void ejbActivate()
throws javax.ejb.EJBException,
RemoteException
ejbActivate in interface javax.ejb.SessionBeanjavax.ejb.EJBException
RemoteException
public void ejbPassivate()
throws javax.ejb.EJBException,
RemoteException
ejbPassivate in interface javax.ejb.SessionBeanjavax.ejb.EJBException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||