Class AxisEchoEndpoint
- java.lang.Object
-
- org.apache.axis2.transport.testkit.axis2.endpoint.AxisTestEndpoint
-
- org.apache.axis2.transport.testkit.axis2.endpoint.AxisEchoEndpoint
-
- All Implemented Interfaces:
InOutEndpoint
public class AxisEchoEndpoint extends AxisTestEndpoint implements InOutEndpoint
-
-
Constructor Summary
Constructors Constructor Description AxisEchoEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEndpointErrorListener(EndpointErrorListener listener)protected org.apache.axis2.description.InOutAxisOperationcreateOperation()Create an operation appropriate for the message exchange pattern implemented by the test endpoint.protected voidonTransportError(Throwable ex)Process a transport error.voidremoveEndpointErrorListener(EndpointErrorListener listener)
-
-
-
Method Detail
-
createOperation
protected org.apache.axis2.description.InOutAxisOperation createOperation()
Description copied from class:AxisTestEndpointCreate an operation appropriate for the message exchange pattern implemented by the test endpoint. The operation returned should have aMessageReceiverset.- Specified by:
createOperationin classAxisTestEndpoint- Returns:
- the operation
-
onTransportError
protected void onTransportError(Throwable ex)
Description copied from class:AxisTestEndpointProcess a transport error. Note that this method will only be called if the underlying transport supports reporting of transport errors.- Specified by:
onTransportErrorin classAxisTestEndpoint- Parameters:
ex- the exception describing the transport error
-
addEndpointErrorListener
public void addEndpointErrorListener(EndpointErrorListener listener)
- Specified by:
addEndpointErrorListenerin interfaceInOutEndpoint
-
removeEndpointErrorListener
public void removeEndpointErrorListener(EndpointErrorListener listener)
- Specified by:
removeEndpointErrorListenerin interfaceInOutEndpoint
-
-