Interface EntityFactory


  • public interface EntityFactory
    Entity factory for supporting DI environments.
    • Method Detail

      • create

        java.lang.Object create​(EntityContext context)
        Create an entity.
        Returns:
        the new entity
      • entityClass

        java.lang.Class<?> entityClass()
        Get the class of the entity.
        Returns:
        the entity class