Package org.openas2

Interface Session

    • Field Detail

      • DEFAULT_CONTENT_TRANSFER_ENCODING

        static final java.lang.String DEFAULT_CONTENT_TRANSFER_ENCODING
        See Also:
        Constant Field Values
      • LOG_LEVEL_OVERRIDE_KEY

        static final java.lang.String LOG_LEVEL_OVERRIDE_KEY
        See Also:
        Constant Field Values
    • Method Detail

      • start

        void start()
            throws java.lang.Exception
        Lifecycle control method.
        Throws:
        java.lang.Exception - - - Houston we have a problem
      • stop

        void stop()
           throws java.lang.Exception
        Lifecycle control method.
        Throws:
        java.lang.Exception - - - Houston we have a problem
      • getComponent

        Component getComponent​(java.lang.String componentID)
                        throws ComponentNotFoundException
        Gets the Component currently registered with an ID
        Parameters:
        componentID - ID to search for
        Returns:
        the component registered to the ID or null
        Throws:
        ComponentNotFoundException - If a component is not registered with the ID
      • getComponents

        java.util.Map<java.lang.String,​Component> getComponents()
        Return a map of component ID's to Component objects.
        Returns:
        all registered components, mapped by ID
      • getBaseDirectory

        java.lang.String getBaseDirectory()
      • getAppVersion

        java.lang.String getAppVersion()
      • getAppTitle

        java.lang.String getAppTitle()