|
JTR 5.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRunnerWs
This interface defines those methods required to inject into
an IRunner
concrete implementation the configuration
required to access and invoke a webservice.
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. |
Binding |
getBinding()
This method returns the set of configured webservice bindings. |
WebServiceConfig |
getWsConfig()
Retrieve the webservice configuration associated with the runner according to what specified by the jtr.xml
configuration file. |
java.lang.Object |
invoke(Binding binding,
java.lang.Object input)
Performs a synchronous invocation. |
IWsResponse |
invokeAsync(Binding binding,
java.lang.Object input)
Performs an asynchronous invocation. |
java.util.concurrent.Future<?> |
invokeAsync(Binding binding,
java.lang.Object input,
IWsResponseListener rl)
Performs an asynchronous invocation. |
void |
invokeOneWay(Binding binding,
java.lang.Object input)
Performs a one-way webservice invocation. |
void |
setBinding(Binding binding)
This method returns the set of configured webservice bindings. |
void |
setWsConfig(WebServiceConfig wsConfig)
Set the webservice configuration associated with the runner according to what specified by the jtr.xml
configuration file. |
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 |
---|
WebServiceConfig getWsConfig()
jtr.xml
configuration file.
void setWsConfig(WebServiceConfig wsConfig)
jtr.xml
configuration file.
wsConfig
- void setBinding(Binding binding)
binding
- Binding getBinding()
java.lang.Object invoke(Binding binding, java.lang.Object input) throws WsProviderException
binding
- The actual binding describing the web-services to invokeinput
- The message
WsProviderException
void invokeOneWay(Binding binding, java.lang.Object input) throws WsProviderException
binding
- The actual binding describing the web-services to invokeinput
- The message
WsProviderException
java.util.concurrent.Future<?> invokeAsync(Binding binding, java.lang.Object input, IWsResponseListener rl) throws WsProviderException
binding
- The actual binding describing the web-service to invokeinput
- The messagerl
- The response listener to be notified when a response becomes available
Future
instance representin the pending task
WsProviderException
IWsResponse invokeAsync(Binding binding, java.lang.Object input) throws WsProviderException
binding
- The actual binding describing the web-service to invokeinput
- The message
WsProviderException
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 |