Interface EntityInstantiator


public interface EntityInstantiator
SPI to abstract strategies to create instances for PersistentEntitys.
Since:
2.3
Author:
Oliver Drotbohm
  • Method Details

    • createInstance

      <T, E extends PersistentEntity<? extends T, P>, P extends PersistentProperty<P>> T createInstance(E entity, ParameterValueProvider<P> provider)
      Creates a new instance of the given entity using the given source to pull data from.
      Parameters:
      entity - will not be null.
      provider - will not be null.
      Returns: