net.sourceforge.junitejb
Class EJBTestRunnerBean

java.lang.Object
  extended bynet.sourceforge.junitejb.EJBTestRunnerBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, 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

Constructor Summary
EJBTestRunnerBean()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBTestRunnerBean

public EJBTestRunnerBean()
Method Detail

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 class
methodName - 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