java.lang.Object
com.marginallyclever.ro3.Factory<T>
Type Parameters:
T - The class of object to create.

public class Factory<T> extends Object
A factory that can be used to create objects. It does not manage the objects it creates.
  • Constructor Details

    • Factory

      public Factory(Class<T> type)
  • Method Details

    • getRoot

      public Factory.Category<T> getRoot()
    • getSupplierFor

      public Supplier<T> getSupplierFor(String path)
    • create

      public T create(String path)
    • scan

      public void scan()
    • clear

      public void clear()