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.AbstractHandlerThe abstract class which provides some basic operations for Tracing handlers which extend this class
-
-
Constructor Summary
Constructors Constructor Description AbstractTracingHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 message-
Methods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
-
-
-
-
Method Detail
-
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:
operationName- operationNameserviceName- serviceNamemsgCtxt- msgCtxt- Returns:
- the sequence of the message stored with respect to the operation in the service
-
-