Class DefaultPartComponentsBundle

    • Field Detail

      • EXCEPTION_MESSAGE_KEY_COMPONENT_MANAGER_NOT_FOUND

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_COMPONENT_MANAGER_NOT_FOUND
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultPartComponentsBundle

        public DefaultPartComponentsBundle()
    • Method Detail

      • setXmlParser

        public void setXmlParser​(ComponentsXmlParser xmlParser)
        Sets the components XML parser implementation.
        Parameters:
        xmlParser - the components XML parser
        See Also:
        getXmlParser()
      • getComponentNames

        public java.util.Set<java.lang.String> getComponentNames()
        Description copied from interface: PartComponentsBundle
        Returns a set that contains the names of components included in this bundle.
        Specified by:
        getComponentNames in interface PartComponentsBundle
        Returns:
        the set of component names in this bundle
      • getComponentManager

        public PartComponentManager getComponentManager​(java.lang.String componentName)
        Description copied from interface: PartComponentsBundle
        Returns the manager for a component type identified by name.
        Specified by:
        getComponentManager in interface PartComponentsBundle
        Parameters:
        componentName - the component name
        Returns:
        the manager for the corresponding component type
      • getComponentManagers

        public java.util.Map<java.lang.String,​PartComponentManager> getComponentManagers()
        Returns the internal map of component managers, indexed by component name.
        Returns:
        the map of component managers
        See Also:
        setComponentManagers(Map)
      • setComponentManagers

        public void setComponentManagers​(java.util.Map<java.lang.String,​PartComponentManager> componentManagers)
        Sets the map of component managers.

        The map needs to use component names as keys, and PartComponentManager instances as values.

        Parameters:
        componentManagers - the map of component managers