net.sourceforge.junitejb
Class EJBTestRunnerBean
java.lang.Object
net.sourceforge.junitejb.EJBTestRunnerBean
- All Implemented Interfaces:
- java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean
public class EJBTestRunnerBean
- extends java.lang.Object
- implements javax.ejb.SessionBean
Implementation of the ejb test runner.
- Version:
- $Revision: 1.3 $
- Author:
- Dain Sundstrom
- See Also:
EJBTestRunner
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBTestRunnerBean
public EJBTestRunnerBean()
run
public void run(java.lang.String className,
java.lang.String methodName)
throws RemoteTestException
- Runs the specified test method on the specified class.
- Parameters:
className
- the name of the test classmethodName
- the name of the test method
- Throws:
RemoteTestException
- If any throwable is thrown during
execution of the method, it is wrapped with a RemoteTestException and
rethrown.
ejbCreate
public void ejbCreate()
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interface javax.ejb.SessionBean
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface javax.ejb.SessionBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate
in interface javax.ejb.SessionBean
setSessionContext
public void setSessionContext(javax.ejb.SessionContext ctx)
- Specified by:
setSessionContext
in interface javax.ejb.SessionBean
Distributable under LGPL license. See terms of license at gnu.org