Class AbstractComponentFactory

    • Field Detail

      • log

        protected static final org.infinispan.util.logging.Log log
    • Constructor Detail

      • AbstractComponentFactory

        public AbstractComponentFactory()
    • Method Detail

      • construct

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

        @Deprecated
        public <T> T construct​(java.lang.Class<T> componentType)
        Deprecated.
        Since 9.4, please override ComponentFactory.construct(String) instead.
        Constructs a component.
        Parameters:
        componentType - type of component
        Returns:
        a component
      • assertTypeConstructable

        protected void assertTypeConstructable​(java.lang.Class<?> requestedType,
                                               java.lang.Class<?>... ableToConstruct)