Interface EventSourcedEntityContext

All Superinterfaces:
Context, EntityContext
All Known Subinterfaces:
EventContext

public interface EventSourcedEntityContext extends EntityContext
Context information available during Event Sourced Entity construction and initialization. This context provides access to entity metadata and configuration that is available throughout the entity's lifecycle.

The EventSourcedEntityContext is typically injected into the entity constructor and can be used to access the entity id and other contextual information needed during entity setup.

Unlike CommandContext and EventContext, this context is available during entity construction and is not limited to command or event processing.