|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.objectweb.jonas.jtests.beans.remoterunner.RemoteRunnerSL
Constructor Summary | |
RemoteRunnerSL()
|
Method Summary | |
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()
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. |
java.lang.String |
run(java.lang.Class jtcc)
Run a JUnit TestSuite |
java.lang.String |
run(java.lang.Class jtcc,
java.lang.String testtorun)
Run a TestCase in the JUnit TestSuite |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Set the associated session context. |
Constructor Detail |
public RemoteRunnerSL()
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() throws javax.ejb.CreateException
CreateException
- Failure to create a session EJB object.public void ejbPassivate()
public void ejbActivate()
public java.lang.String run(java.lang.Class jtcc) throws java.rmi.RemoteException
jtcc
- the class of the JUnit TestSuite to be run
The code run here is equivalent to :
TestRunner.run( jtcc.suite())public java.lang.String run(java.lang.Class jtcc, java.lang.String testtorun) throws java.rmi.RemoteException
jtcc
- the class of the JUnit TestSuite to be runname
- name of the testcase to run
This code run here is equivalent to do
TestRunner.run(new jtcc(testtorun))
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |