JTR 5.0 API Documentation

jtr.runners
Interface IRunnerJMS

All Superinterfaces:
IRunner, IRunnerClean, IRunnerParameterized, IRunnerPooled, java.lang.Runnable
All Known Implementing Classes:
AbstractJMSRunner

public interface IRunnerJMS
extends IRunner

This interface defines all the set-up methods an IRunner meant for dealing with the JMS API has to expose.

Since:
1.1
Version:
5.0
Author:
Francesco Russo (frusso@dev.java.net)

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

Method Detail

setJmsConfig

void setJmsConfig(JMSConfig jmsConfig)
Set the JMS configuration assigned to the current IRunner

Parameters:
jmsConfig - The JMS configuration

getJmsConfig

JMSConfig getJmsConfig()
Get the JMS configuration assigned to the current IRunner

Returns:
JMSConfig

clean

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.

Returns:
IRunnerClean

The JTR Project is licensed under GPL version 2