Interface Container

  • All Superinterfaces:
    org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable
    All Known Implementing Classes:
    ECMContainer, YAAFIContainer

    public interface Container
    extends org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.activity.Disposable
    This is a simple interface around the ECM and Yaafi containers
    Author:
    Eric Pugh
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String COMPONENT_APP_ROOT
      Key used in the context for defining the application root
      static String URN_AVALON_HOME
      Alternate Merlin Friendly Key used in the context for defining the application root
      static String URN_AVALON_TEMP
      Alternate Merlin Friendly Key used in the context for defining the application root
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Object lookup​(String roleName)  
      void release​(Object component)  
      void startup​(String configFileName, String roleFileName, String parametersFileName)  
      • Methods inherited from interface org.apache.avalon.framework.activity.Disposable

        dispose
      • Methods inherited from interface org.apache.avalon.framework.activity.Initializable

        initialize
    • Field Detail

      • COMPONENT_APP_ROOT

        static final String COMPONENT_APP_ROOT
        Key used in the context for defining the application root
        See Also:
        Constant Field Values
      • URN_AVALON_HOME

        static final String URN_AVALON_HOME
        Alternate Merlin Friendly Key used in the context for defining the application root
        See Also:
        Constant Field Values
      • URN_AVALON_TEMP

        static final String URN_AVALON_TEMP
        Alternate Merlin Friendly Key used in the context for defining the application root
        See Also:
        Constant Field Values
    • Method Detail

      • startup

        void startup​(String configFileName,
                     String roleFileName,
                     String parametersFileName)
      • lookup

        Object lookup​(String roleName)
               throws org.apache.avalon.framework.component.ComponentException
        Throws:
        org.apache.avalon.framework.component.ComponentException
      • release

        void release​(Object component)