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 void
addEndpointErrorListener(EndpointErrorListener listener)
protected InOutAxisOperation
createOperation()
Create an operation appropriate for the message exchange pattern implemented by the test endpoint.protected void
onTransportError(Throwable ex)
Process a transport error.void
removeEndpointErrorListener(EndpointErrorListener listener)
-
-
-
Method Detail
-
createOperation
protected InOutAxisOperation createOperation()
Description copied from class:AxisTestEndpoint
Create an operation appropriate for the message exchange pattern implemented by the test endpoint. The operation returned should have aMessageReceiver
set.- Specified by:
createOperation
in classAxisTestEndpoint
- Returns:
- the operation
-
onTransportError
protected void onTransportError(Throwable ex)
Description copied from class:AxisTestEndpoint
Process a transport error. Note that this method will only be called if the underlying transport supports reporting of transport errors.- Specified by:
onTransportError
in classAxisTestEndpoint
- Parameters:
ex
- the exception describing the transport error
-
addEndpointErrorListener
public void addEndpointErrorListener(EndpointErrorListener listener)
- Specified by:
addEndpointErrorListener
in interfaceInOutEndpoint
-
removeEndpointErrorListener
public void removeEndpointErrorListener(EndpointErrorListener listener)
- Specified by:
removeEndpointErrorListener
in interfaceInOutEndpoint
-
-