Class NamedComponentFactory

    • Constructor Detail

      • NamedComponentFactory

        public NamedComponentFactory()
        Deprecated.
    • Method Detail

      • construct

        public java.lang.Object construct​(java.lang.String componentName)
        Deprecated.
        Specified by:
        construct in interface ComponentFactory
        Overrides:
        construct in class AnyScopeComponentFactory
        Returns:
        Either a component instance or a ComponentAlias pointing to another component.
      • construct

        public abstract <T> T construct​(java.lang.Class<T> componentType,
                                        java.lang.String componentName)
        Deprecated.
        Constructs a component.
        Parameters:
        componentType - type of component
        Returns:
        a component