Class MessageBuilderModule

    • Constructor Detail

      • MessageBuilderModule

        public MessageBuilderModule()
    • Method Detail

      • 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
      • processDocument

        protected Message processDocument​(java.io.InputStream ip,
                                          java.lang.String filename)
                                   throws OpenAS2Exception,
                                          java.io.FileNotFoundException
        Throws:
        OpenAS2Exception
        java.io.FileNotFoundException
      • createMessage

        protected abstract Message createMessage()