|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.objectweb.jonas.stests.manac.ManagerSF
Manager Implementation
Field Summary | |
protected static org.objectweb.util.monolog.api.Logger |
logger
|
Constructor Summary | |
ManagerSF()
|
Method Summary | |
boolean |
checkAccount(int a)
|
boolean |
checkAll()
|
void |
createAll(int nb)
|
void |
delAccount(int d1)
Find an account and create it if not found. |
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. |
void |
ejbCreate(int ival)
The Session bean must define 1 or more ejbCreate methods. |
void |
ejbPassivate()
A container invokes this method on an instance before the instance becomes disassociated with a specific EJB object. |
void |
ejbRemove()
A container invokes this method before it ends the life of the session object. |
void |
getAccount(int c1)
Find an account and create it if not found. |
void |
movement()
|
void |
reinitAll()
|
void |
setAccounts(int d1,
int d2,
int c1,
int c2)
Each operation debits 2 accounts and credits 2 accounts. |
void |
setDelay(int d)
|
void |
setSessionContext(javax.ejb.SessionContext ctx)
Set the associated session context. |
void |
setValue(int v)
|
void |
sleep(int milliseconds)
|
Field Detail |
protected static org.objectweb.util.monolog.api.Logger logger
Constructor Detail |
public ManagerSF()
Method Detail |
public void setSessionContext(javax.ejb.SessionContext ctx)
sessionContext
- A SessionContext interface for the instance.EJBException
- Thrown by the method to indicate a failure caused by
a system-level error.public void ejbRemove()
EJBException
- Thrown by the method to indicate a failure caused by
a system-level error.public void ejbCreate(int ival) throws javax.ejb.CreateException
CreateException
- Failure to create a session EJB object.public void ejbPassivate()
public void ejbActivate()
public void createAll(int nb) throws java.rmi.RemoteException
public void reinitAll() throws java.rmi.RemoteException
public void setDelay(int d) throws java.rmi.RemoteException
public void setAccounts(int d1, int d2, int c1, int c2) throws java.rmi.RemoteException
public void getAccount(int c1) throws java.rmi.RemoteException
public void delAccount(int d1) throws java.rmi.RemoteException, javax.ejb.RemoveException
public void setValue(int v) throws java.rmi.RemoteException
public void movement() throws java.rmi.RemoteException
public void sleep(int milliseconds)
public boolean checkAccount(int a) throws java.rmi.RemoteException
public boolean checkAll() throws java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |