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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    appendMessage(org.apache.axis2.context.ConfigurationContext configCtx, String serviceName, String operationName, Long msgSeq)
    Appends SOAP message metadata to a message buffer
    protected long
    storeMessage(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods 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 ConfigurationContext
      serviceName - The service name
      operationName - The operation name
      msgSeq - 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 - serviceName
      operationName - operationName
      msgCtxt - msgCtxt
      Returns:
      the sequence of the message stored with respect to the operation in the service