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

public static interface StateBasedEntityModule.EntityIdResolverPhase<ID,E> extends ModuleBuilder<StateBasedEntityModule<ID,E>>
The "entity ID resolver" phase of the state-based entity builder.

Allows for providing an EntityIdResolver to resolve the entity's ID based on the command payload. Required for any command handlers in the EntityMetamodel. This is optional, and users can choose to skip this by calling ModuleBuilder.build(). Any command handlers will not be subscribed to the CommandBus in that case.