Class ConfigurationManager

java.lang.Object
org.exoplatform.webui.application.ConfigurationManager

public class ConfigurationManager extends Object
May 10, 2006
Manages the ComponentConfig of a list of components.
See Also:
  • Constructor Details

    • ConfigurationManager

      public ConfigurationManager(InputStream inputStream) throws Exception
      Parameters:
      inputStream - A stream that links the configuration file
      Throws:
      Exception
  • Method Details

    • getComponentConfig

      public List<Component> getComponentConfig(Class<?> clazz)
      Gets the components of a given class
      Parameters:
      clazz - The class of the components
      Returns:
      the list of components
    • getComponentConfig

      public Component getComponentConfig(ComponentHandle handle)
    • getComponentConfig

      public Component getComponentConfig(Class<?> type, String id)
      Gets a component of a given class and identified by id
      Parameters:
      type - The class of the component
      id - The id of the component
      Returns:
      The component
    • getApplication

      public Application getApplication()