org.apache.axis2.transport.testkit.axis2.endpoint
Class AxisEchoEndpoint

java.lang.Object
  extended by org.apache.axis2.transport.testkit.axis2.endpoint.AxisTestEndpoint
      extended by org.apache.axis2.transport.testkit.axis2.endpoint.AxisEchoEndpoint
All Implemented Interfaces:
InOutEndpoint

public class AxisEchoEndpoint
extends AxisTestEndpoint
implements InOutEndpoint


Constructor Summary
AxisEchoEndpoint()
           
 
Method Summary
 void addEndpointErrorListener(EndpointErrorListener listener)
           
protected  org.apache.axis2.description.InOutAxisOperation createOperation()
          Create an operation appropriate for the message exchange pattern implemented by the test endpoint.
protected  void onTransportError(java.lang.Throwable ex)
          Process a transport error.
 void removeEndpointErrorListener(EndpointErrorListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisEchoEndpoint

public AxisEchoEndpoint()
Method Detail

createOperation

protected org.apache.axis2.description.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 a MessageReceiver set.

Specified by:
createOperation in class AxisTestEndpoint
Returns:
the operation

onTransportError

protected void onTransportError(java.lang.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 class AxisTestEndpoint
Parameters:
ex - the exception describing the transport error

addEndpointErrorListener

public void addEndpointErrorListener(EndpointErrorListener listener)
Specified by:
addEndpointErrorListener in interface InOutEndpoint

removeEndpointErrorListener

public void removeEndpointErrorListener(EndpointErrorListener listener)
Specified by:
removeEndpointErrorListener in interface InOutEndpoint


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.