Interface EventSourcedEntityModule.EntityIdResolverPhase<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.
All Superinterfaces:
ModuleBuilder<EventSourcedEntityModule<ID,E>>
Enclosing interface:
EventSourcedEntityModule<ID,E>

public static interface EventSourcedEntityModule.EntityIdResolverPhase<ID,E> extends ModuleBuilder<EventSourcedEntityModule<ID,E>>
Phase of the module's building process in which a ComponentBuilder for an EntityIdResolver should be provided. This resolver is responsible for resolving the identifier of the event-sourced entity being built. If no EntityIdResolver is provided by calling the ModuleBuilder.build() method, no command handling component will be registered, but the entity will still be registered to the StateManager so it can be loaded in stateful command handlers.