| java.lang.Object org.objectweb.jonas.jtests.beans.beanexc.AccountCommon org.objectweb.jonas.jtests.beans.beanexc.AccountEC2
All known Subclasses: org.objectweb.jonas.jtests.beans.beanexc.AccountEC,
AccountEC2 | abstract public class AccountEC2 extends AccountCommon implements EntityBean(Code) | | This is an entity bean with "container managed persistence version 2".
The state of an instance is stored into a relational database.
author: Philippe Durieux, Philippe Coq, Helene Joanin |
entityContext | protected EntityContext entityContext(Code) | | |
forceToFailEjbStore | boolean forceToFailEjbStore(Code) | | |
doFailedEjbStore_1 | public void doFailedEjbStore_1()(Code) | | |
doFailedEjbStore_2 | public void doFailedEjbStore_2()(Code) | | |
doFailedEjbStore_3 | public void doFailedEjbStore_3()(Code) | | |
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public AccountPK ejbCreate(int val_number, String val_customer, long val_balance) throws CreateException(Code) | | |
ejbCreate | public AccountPK ejbCreate(int flag) throws CreateException, AppException(Code) | | this method is common for impl and expl bean
it is used to test exception raised in ejbCreate
with unspecified transactional context (Required attribute)
CAUTION: Do not call ejbCreate inside another ejbCreate (known bug)
|
ejbCreate | public AccountPK ejbCreate(boolean flag) throws CreateException, AppException(Code) | | this method is common for impl and expl bean
NotSupported attr.
CAUTION: Do not call ejbCreate inside another ejbCreate (known bug)
|
ejbLoad | public void ejbLoad()(Code) | | |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbPostCreate | public void ejbPostCreate(int val_number, String val_customer, long val_balance)(Code) | | |
ejbPostCreate | public void ejbPostCreate(int flag)(Code) | | |
ejbPostCreate | public void ejbPostCreate(boolean flag)(Code) | | |
ejbRemove | public void ejbRemove() throws RemoveException(Code) | | This method is common for impl and expl bean
it is used to test exception raised in ejbRemove()
with unspecified transactional context (Required attribute).
This method throws a RemoveException when the value of the PK is between 999990 and 999999
|
ejbStore | public void ejbStore()(Code) | | |
getBalance | abstract public long getBalance()(Code) | | |
getContext | public EJBContext getContext()(Code) | | |
getNumber | abstract public int getNumber()(Code) | | |
setBalance | abstract public void setBalance(long d)(Code) | | |
setEntityContext | public void setEntityContext(EntityContext ctx)(Code) | | |
setNumber | abstract public void setNumber(int n)(Code) | | |
unsetEntityContext | public void unsetEntityContext()(Code) | | |
Fields inherited from org.objectweb.jonas.jtests.beans.beanexc.AccountCommon | protected boolean iAmDestroyed(Code)(Java Doc) protected static Logger logger(Code)(Java Doc)
|
|
|