Interface EventSourcedEntityModule.EntityFactoryPhase<ID,E>

Type Parameters:
ID - The type of identifier used to identify the event-sourced entity.
E - The type of the event-sourced entity being built.
Enclosing interface:
EventSourcedEntityModule<ID,E>

public static interface EventSourcedEntityModule.EntityFactoryPhase<ID,E>
Phase of the module's building process in which a ComponentBuilder for an EventSourcedEntityFactory should be provided. This factory is responsible for creating the event-sourced entity of type E based on the entity's type, an identifier of type I, and optionally an EventMessage if the stream is non-empty.