Class BasicComponentFactory<T>

  • All Implemented Interfaces:
    Supplier<T>

    public class BasicComponentFactory<T>
    extends Object
    implements Supplier<T>
    • Constructor Detail

      • BasicComponentFactory

        public BasicComponentFactory​(Class<T> componentClass)
        Creates a new BasicComponentFactory instance.
        Parameters:
        componentClass - the component class.
      • BasicComponentFactory

        public BasicComponentFactory​(Class<T> componentClass,
                                     ClassLoader classLoader)
        Creates a new BasicComponentFactory instance.
        Parameters:
        componentClass - the component class.
    • Method Detail

      • get

        public T get()
        Specified by:
        get in interface Supplier<T>