org.jcoderz.commons
Class CommonsTestRunnerSessionBean

java.lang.Object
  extended by org.jcoderz.commons.CommonsTestRunnerSessionImpl
      extended by org.jcoderz.commons.CommonsTestRunnerSessionBean
All Implemented Interfaces:
Serializable, EnterpriseBean, SessionBean, CommonsTestRunnerSessionInterface
Direct Known Subclasses:
CommonsTestRunnerSessionSession

public abstract class CommonsTestRunnerSessionBean
extends CommonsTestRunnerSessionImpl
implements SessionBean

Session bean for running JUnit tests inside a server. Don't call this yourself, but implement a subclasses of ServerTestCase which will use this to run itself inside the server.

Author:
Michael Griffel
See Also:
Serialized Form
ejb.bean
name="CommonsTestRunnerSession" type="Stateless" jndi-name="CommonsTestRunnerSession" remote-business-interface="org.jcoderz.commons.CommonsTestRunnerSessionInterface"
ejb.interface
extends="javax.ejb.EJBObject"
ejb.ejb-ref
ejb-name="CommonsTestRunnerSession" ref-name="ejb/CommonsTestRunnerSession" TODO If you want to test your beans using the TestRunner, you'll have to add your ejb-refs here.
ejb.resource-ref
res-ref-name="jdbc/fawkez" res-type="javax.sql.DataSource" res-auth="Container" jndi-name="jdbc/fawkez" // FS Connector, res-auth="Container" res-name="eis/FileSystemConnector" res-type="org.jcoderz.commons.connector.file.FsConnectionFactory", res-auth="Container" res-name="eis/HttpConnector" res-type="org.jcoderz.commons.connector.Http.HttpConnectionFactory"
ejb.transaction
type="Supports" // JDBC
weblogic.resource-description
res-ref-name="eis/FileSystemConnector" jndi-name="eis/FileSystemConnector" // HTTP Connector, res-ref-name="eis/HttpConnector" jndi-name="eis/HttpConnector"

Constructor Summary
CommonsTestRunnerSessionBean()
           
 
Method Summary
 
Methods inherited from class org.jcoderz.commons.CommonsTestRunnerSessionImpl
runTest, runTestWithTx
 
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, ejbRemove, setSessionContext
 

Constructor Detail

CommonsTestRunnerSessionBean

public CommonsTestRunnerSessionBean()


Copyright 2007 The jCoderZ Project.