public class EJBTestRunnerBean
extends java.lang.Object
implements javax.ejb.SessionBean
EJBTestRunner
,
Serialized FormConstructor and Description |
---|
EJBTestRunnerBean() |
Modifier and Type | Method and Description |
---|---|
void |
ejbActivate() |
void |
ejbCreate() |
void |
ejbPassivate() |
void |
ejbRemove() |
void |
run(java.lang.String className,
java.lang.String methodName)
Runs the specified test method on the specified class.
|
void |
setSessionContext(javax.ejb.SessionContext ctx) |
public void run(java.lang.String className, java.lang.String methodName) throws RemoteTestException
className
- the name of the test classmethodName
- the name of the test methodRemoteTestException
- If any throwable is thrown during
execution of the method, it is wrapped with a RemoteTestException and
rethrown.public void ejbCreate()
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext
in interface javax.ejb.SessionBean
Distributable under LGPL license. See terms of license at gnu.org