Interface StateBasedEntityModule.RepositoryPhase<ID,E>

Type Parameters:
ID - The type of identifier used to identify the state-based entity that's being built.
E - The type of the state-based entity being built.
Enclosing interface:
StateBasedEntityModule<ID,E>

public static interface StateBasedEntityModule.RepositoryPhase<ID,E>
The repository phase of the state-based entity builder.

Allows for two paths when building a state-based entity. Firstly, a entity loader can be defined, after which the builder will enforce registration of an entity persister. The second option allows for providing a repository right away.