Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 interface org.apache.axis2.engine.Handler

        invoke
    • Constructor Detail

      • AbstractTracingHandler

        public AbstractTracingHandler()
    • 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 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:
        operationName - operationName
        serviceName - serviceName
        msgCtxt - msgCtxt
        Returns:
        the sequence of the message stored with respect to the operation in the service