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 org.apache.axis2.description.AxisOperationcreateOperation()Create an operation appropriate for the message exchange pattern implemented by the test endpoint.protected abstract voidonTransportError(Throwable ex)Process a transport error.
-
-
-
Method Detail
-
createOperation
protected abstract org.apache.axis2.description.AxisOperation createOperation()
Create an operation appropriate for the message exchange pattern implemented by the test endpoint. The operation returned should have aMessageReceiverset.- 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
-
-