|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cactus.internal.client.connector.http.JmsProtocolHandler
public class JmsProtocolHandler
The JMS protocol handler.
| Constructor Summary | |
|---|---|
JmsProtocolHandler(JmsConfiguration theConfiguration)
|
|
| Method Summary | |
|---|---|
void |
afterTest(ProtocolState theState)
A method that gets executed after the test execution. |
Request |
createRequest()
A method to create a request object. |
ResponseObjectFactory |
createResponseObjectFactory(ProtocolState theState)
TODO implement this method. |
ProtocolState |
runTest(junit.framework.Test theDelegatedTest,
junit.framework.Test theWrappedTest,
Request theRequest)
The method that actually runs the tests. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmsProtocolHandler(JmsConfiguration theConfiguration)
theConfiguration - configuration data| Method Detail |
|---|
public void afterTest(ProtocolState theState)
throws java.lang.Exception
afterTest in interface ProtocolHandlertheProtocolState - the state of the protocol after the execution.
java.lang.Exception - on errorpublic Request createRequest()
createRequest in interface ProtocolHandlerpublic ResponseObjectFactory createResponseObjectFactory(ProtocolState theState)
createResponseObjectFactory in interface ProtocolHandlertheState - any state information that has been preserved from the
ProtocolHandler.runTest(junit.framework.Test, junit.framework.Test, org.apache.cactus.Request) method (e.g. the HTTP connection object)
public ProtocolState runTest(junit.framework.Test theDelegatedTest,
junit.framework.Test theWrappedTest,
Request theRequest)
throws java.lang.Throwable
runTest in interface ProtocolHandlertheDelegatedTest - theWrappedTest - theRequest -
ProtocolHandler.createResponseObjectFactory(org.apache.cactus.spi.client.connector.ProtocolState) and
ProtocolHandler.afterTest(org.apache.cactus.spi.client.connector.ProtocolState) later on
java.lang.Throwable - any error that occurred when connecting to the
server side, when executing the test or when gathering the
test result.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||