Method Summary |
|
public void | afterBegin() |
public void | afterCompletion(boolean committed) |
public void | beforeCompletion() |
public boolean | checkAccount(int a) Check an existing Account
Parameters: a - num of the Account. |
public boolean | checkAll() |
public void | createAll(int nb) |
public void | delAccount(int d1) |
public void | ejbActivate() A container invokes this method when the instance is taken out of
the pool of available instances to become associated with a specific
EJB object. |
public void | ejbCreate(int ival) Create a session. |
public void | ejbCreate(int ival, boolean prefetch) Create a session. |
public void | ejbPassivate() A container invokes this method on an instance before the instance
becomes disassociated with a specific EJB object. |
public void | ejbRemove() A container invokes this method before it ends the life of the session object. |
public void | move(int d, int c, int v, int delay) move form an Account to another one. |
public int | readBalance(int a) read balance for this Account
Parameters: a - num of the Account. |
public int | readBalanceTx(int a) |
public void | reinitAll() reinit all created accounts to their initial value. |
public void | setSessionContext(SessionContext ctx) Set the associated session context. |