Class AxisTestEndpoint
- java.lang.Object
-
- org.apache.axis2.transport.testkit.axis2.endpoint.AxisTestEndpoint
-
- Direct Known Subclasses:
AxisAsyncEndpoint
,AxisEchoEndpoint
public abstract class AxisTestEndpoint extends Object
Base class for Axis2 based test endpoints.
-
-
Constructor Summary
Constructors Constructor Description AxisTestEndpoint()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract AxisOperation
createOperation()
Create an operation appropriate for the message exchange pattern implemented by the test endpoint.protected abstract void
onTransportError(Throwable ex)
Process a transport error.
-
-
-
Method Detail
-
createOperation
protected abstract AxisOperation createOperation()
Create an operation appropriate for the message exchange pattern implemented by the test endpoint. The operation returned should have aMessageReceiver
set.- Returns:
- the operation
-
onTransportError
protected abstract void onTransportError(Throwable ex)
Process a transport error. Note that this method will only be called if the underlying transport supports reporting of transport errors.- Parameters:
ex
- the exception describing the transport error
-
-