gov.nih.nci.caarray.services.test.ejb
Class TestManagerEJB
java.lang.Object
gov.nih.nci.caarray.services.util.AbstractSessionBean
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.ejb.SessionBean |
ejbActivate, ejbPassivate, setSessionContext |
TestManagerEJB
public TestManagerEJB()
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 classtestName
- - The name of the test to runargs
- - The test setup parameters
- Throws:
javax.ejb.EJBException
java.rmi.RemoteException
TestException
main
public static void main(java.lang.String[] args)