|
||||||||||
| 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 | |
|---|---|
java.lang.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(java.lang.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,
java.lang.Boolean rollback)
|
Account |
retreiveAccount(java.lang.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 java.lang.String jndiDatabaseEntry
| Constructor Detail |
|---|
public BeanTxStatefulBean()
| Method Detail |
|---|
public void ejbCreate(java.lang.String name)
throws javax.ejb.CreateException
name -
javax.ejb.CreateExceptionBasicStatefulHome.create
public Transaction getUserTransaction()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionBasicStatefulObject.businessMethod
public Transaction jndiUserTransaction()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void openAccount(Account acct,
java.lang.Boolean rollback)
throws java.rmi.RemoteException,
javax.transaction.RollbackException
java.rmi.RemoteException
javax.transaction.RollbackException
public Account retreiveAccount(java.lang.String ssn)
throws java.rmi.RemoteException
java.rmi.RemoteException
public void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException,
java.rmi.RemoteException
setSessionContext in interface javax.ejb.SessionBeanjavax.ejb.EJBException
java.rmi.RemoteException
public void ejbRemove()
throws javax.ejb.EJBException,
java.rmi.RemoteException
ejbRemove in interface javax.ejb.SessionBeanjavax.ejb.EJBException
java.rmi.RemoteException
public void ejbActivate()
throws javax.ejb.EJBException,
java.rmi.RemoteException
ejbActivate in interface javax.ejb.SessionBeanjavax.ejb.EJBException
java.rmi.RemoteException
public void ejbPassivate()
throws javax.ejb.EJBException,
java.rmi.RemoteException
ejbPassivate in interface javax.ejb.SessionBeanjavax.ejb.EJBException
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||