Class BaseMsgTrackingModule

    • Constructor Detail

      • BaseMsgTrackingModule

        public BaseMsgTrackingModule()
    • Method Detail

      • canHandle

        public boolean canHandle​(java.lang.String action,
                                 Message msg,
                                 java.util.Map<java.lang.Object,​java.lang.Object> options)
        Specified by:
        canHandle in interface ProcessorModule
      • init

        public void init​(Session session,
                         java.util.Map<java.lang.String,​java.lang.String> options)
                  throws OpenAS2Exception
        Description copied from interface: Component
        Component lifecycle hook. After creating a Component object, this method should be called to set any parameters used by the component. Component implementations typically have required parameter checking and code to start timers and threads within this method.
        Specified by:
        init in interface Component
        Overrides:
        init in class BaseComponent
        Parameters:
        session - the component uses this object to access other components
        options - configuration values for the component
        Throws:
        OpenAS2Exception - If an error occurs while initializing the component
        See Also:
        Session
      • getModuleAction

        protected abstract java.lang.String getModuleAction()
      • persist

        protected abstract void persist​(Message msg,
                                        java.util.Map<java.lang.String,​java.lang.String> map)
      • buildMap

        protected java.util.Map<java.lang.String,​java.lang.String> buildMap​(Message msg,
                                                                                  java.util.Map<java.lang.Object,​java.lang.Object> options)