|
JTR 5.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtr.runners.AbstractRunnerAncestor
jtr.runners.AbstractJMSRunner
public abstract class AbstractJMSRunner
This abstract runner has to be the base class of all the application-level
runners willing to leverage on the JTR runtime for the dynamic injection of
JMS administered objects defined in the jtr.xml
configuration
file.
Field Summary |
---|
Fields inherited from class jtr.runners.AbstractRunnerAncestor |
---|
logger |
Constructor Summary | |
---|---|
AbstractJMSRunner()
|
Method Summary | |
---|---|
IRunnerClean |
clean()
This method is invoked everytime an IRunner passes from
its RUNNING state to the
REQUIRES_NEW_PARAMETERS state.The concrete IRunner implementation is responsible for its
own clean-up. |
JMSConfig |
getJmsConfig()
Get the JMS configuration assigned to the current IRunner |
void |
setJmsConfig(JMSConfig jmsConfig)
Set the JMS configuration assigned to the current IRunner |
protected void |
specializedBeforeRunTest()
This method allows more specialized subclasses to perform preparatory activities right before the actual test is launched. Note: implementations of this method must always be final . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jtr.runners.IRunner |
---|
getFailures, getSuccesses, receiveFailureNotification, test |
Methods inherited from interface jtr.runners.IRunnerPooled |
---|
afterTest, beforeTest, cleanupResources, getPool, run |
Methods inherited from interface jtr.runners.IRunnerParameterized |
---|
setPool |
Methods inherited from interface jtr.runners.IRunnerClean |
---|
getCurrentRun, getDefaultName, getEnterprise, getEpoch, getFqn, getInstanceCount, getInstanceID, getName, getOutcomeFactory, getParameters, getParamsAssigner, getRuns, getSleepTime, getStatFunction, getTestOutcomeTable, setCurrentRun, setEnterprise, setEpoch, setFqn, setInstanceCount, setInstanceID, setName, setOutcomeFactory, setParameters, setParamsAssigner, setRuns, setSleepTime, setStatFunction, setTestCompletionListener, setTestOutcomeTable |
Constructor Detail |
---|
public AbstractJMSRunner()
Method Detail |
---|
public void setJmsConfig(JMSConfig jmsConfig)
IRunner
setJmsConfig
in interface IRunnerJMS
jmsConfig
- The JMS configurationpublic JMSConfig getJmsConfig()
IRunner
getJmsConfig
in interface IRunnerJMS
protected final void specializedBeforeRunTest() throws java.lang.Throwable
AbstractRunnerAncestor
final
.
specializedBeforeRunTest
in class AbstractRunnerAncestor
java.lang.Throwable
public IRunnerClean clean()
IRunner
passes from
its RUNNING
state to the
REQUIRES_NEW_PARAMETERS
state.IRunner
implementation is responsible for its
own clean-up.
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |