Class AbstractTracingHandler
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.wso2.carbon.tracer.module.handler.AbstractTracingHandler
- All Implemented Interfaces:
org.apache.axis2.engine.Handler
- Direct Known Subclasses:
TracingInPostDispatchHandler,TracingMessageOutObservationHandler
public abstract class AbstractTracingHandler
extends org.apache.axis2.handlers.AbstractHandler
The abstract class which provides some basic operations for Tracing handlers which extend this
class
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
org.apache.axis2.engine.Handler.InvocationResponse -
Field Summary
Fields inherited from class org.apache.axis2.handlers.AbstractHandler
handlerDesc -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendMessage(org.apache.axis2.context.ConfigurationContext configCtx, String serviceName, String operationName, Long msgSeq) Appends SOAP message metadata to a message bufferprotected longstoreMessage(String serviceName, String operationName, org.apache.axis2.context.MessageContext msgCtxt, long msgSequenceNumber) Store the received messageMethods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.axis2.engine.Handler
invoke
-
Constructor Details
-
AbstractTracingHandler
public AbstractTracingHandler()
-
-
Method Details
-
appendMessage
protected void appendMessage(org.apache.axis2.context.ConfigurationContext configCtx, String serviceName, String operationName, Long msgSeq) Appends SOAP message metadata to a message buffer- Parameters:
configCtx- The server ConfigurationContextserviceName- The service nameoperationName- The operation namemsgSeq- The message sequence. Use -1 if unknown.
-
storeMessage
protected long storeMessage(String serviceName, String operationName, org.apache.axis2.context.MessageContext msgCtxt, long msgSequenceNumber) Store the received message- Parameters:
serviceName- serviceNameoperationName- operationNamemsgCtxt- msgCtxt- Returns:
- the sequence of the message stored with respect to the operation in the service
-