Class AbstractFactoryRegistry<T>

    • Constructor Detail

      • AbstractFactoryRegistry

        public AbstractFactoryRegistry​(ServiceLoader<T> factoryLoader)
        Deprecated.
    • Method Detail

      • factorySupports

        protected abstract boolean factorySupports​(T factory,
                                                   String name)
        Deprecated.
      • getFactory

        public final T getFactory​(String name)
        Deprecated.
        Parameters:
        name - a string representation of a content identifier
        Returns:
        a factory for creating content of the resolved type
      • register

        @Deprecated
        public final void register​(String extendedName,
                                   T factory)
        Deprecated.
        register factories via META-INF/services
        Parameters:
        extendedName - a non-standard name to register
        factory - a factory for creating instances of the non-standard type