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

java.lang.Object
  extended by org.apache.axis2.transport.testkit.axis2.endpoint.AxisTestEndpoint
Direct Known Subclasses:
AxisAsyncEndpoint, AxisEchoEndpoint

public abstract class AxisTestEndpoint
extends java.lang.Object

Base class for Axis2 based test endpoints.


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

Constructor Detail

AxisTestEndpoint

public AxisTestEndpoint()
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 a MessageReceiver set.

Returns:
the operation

onTransportError

protected abstract void onTransportError(java.lang.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


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