Class AbstractHandler

    • Constructor Detail

      • AbstractHandler

        public AbstractHandler()
        Constructor AbstractHandler.
    • Method Detail

      • init

        public void init​(HandlerDescription handlerdesc)
        Method init.
        Specified by:
        init in interface Handler
        handlerdesc - the HandlerDescription for this Handler
      • getName

        public String getName()
        Method getName.
        Specified by:
        getName in interface Handler
        Returns QName.
      • getParameter

        public Parameter getParameter​(String name)
        Method getParameter.
        Specified by:
        getParameter in interface Handler
        name - name of the parameter
        Returns Parameter.
      • flowComplete

        public void flowComplete​(MessageContext msgContext)
        Description copied from interface: Handler
        This method will be called on each registered handler that had its invoke(...) method called during the processing of the message, once the message processing has completed. During execution of the flowComplete's, handlers are invoked in the opposite order that they were invoked originally. Note that implementations SHOULD check msgContext.getFailureReason() to see if this is an error or a normal completion.
        Specified by:
        flowComplete in interface Handler
        msgContext - the MessageContext to process with this Handler.