Interface Forge

  • All Known Implementing Classes:
    ObjectifyFactory

    public interface Forge
    Interface for something that constructs objects. This is used to abstract the injection/construction process so we don't have to pass ObjectifyFactory around everywhere.
    • Method Detail

      • construct

        <T> T construct​(Class<T> type)

        Construct an instance of the specified type. Objectify uses this method whenever possible to create instances of entities, condition classes, or other types.