gov.nih.nci.caarray.services.test.ejb
Class TestManagerEJB

java.lang.Object
  extended by gov.nih.nci.caarray.services.util.AbstractSessionBean
      extended by gov.nih.nci.caarray.services.test.ejb.TestManagerEJB
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public class TestManagerEJB
extends AbstractSessionBean
implements javax.ejb.SessionBean

Author:
Joshua Phillips
See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nih.nci.caarray.services.util.AbstractSessionBean
logger_, sessionCtx_
 
Constructor Summary
TestManagerEJB()
           
 
Method Summary
 void ejbCreate()
           
 void ejbRemove()
          called when remove method is called.
static void main(java.lang.String[] args)
           
 void runTest(java.lang.String testClassName, java.lang.String testName, java.util.Properties props)
           
 
Methods inherited from class gov.nih.nci.caarray.services.util.AbstractSessionBean
disableAndRememberPreviousValueForCollectionDescriptorCascadeRetrieve, disableAndRememberPreviousValueForObjectDescriptorCascadeRetrieve, ejbActivate, ejbPassivate, getUserTransaction, resetCollectionDescriptorCascadeToPreviousValue, resetObjectDescriptorCascadeToPreviousValue, setSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ejb.SessionBean
ejbActivate, ejbPassivate, setSessionContext
 

Constructor Detail

TestManagerEJB

public TestManagerEJB()
Method Detail

ejbCreate

public void ejbCreate()
               throws java.rmi.RemoteException,
                      javax.ejb.CreateException
Overrides:
ejbCreate in class AbstractSessionBean
Throws:
javax.ejb.CreateException
java.rmi.RemoteException

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException,
                      java.rmi.RemoteException
called when remove method is called.

Specified by:
ejbRemove in interface javax.ejb.SessionBean
Overrides:
ejbRemove in class AbstractSessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

runTest

public void runTest(java.lang.String testClassName,
                    java.lang.String testName,
                    java.util.Properties props)
             throws TestException
Parameters:
testClassName - - The name of the test class
testName - - The name of the test to run
args - - The test setup parameters
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
TestException

main

public static void main(java.lang.String[] args)