Interface EventSourcedEntityFactory
-
public interface EventSourcedEntityFactoryLow level interface for handling events and commands on an entity.Generally, this should not be needed, instead, a class annotated with the
EventHandler,CommandHandlerand similar annotations should be used.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventSourcedEntityHandlercreate(EventSourcedContext context)Create an entity handler for the given context.
-
-
-
Method Detail
-
create
EventSourcedEntityHandler create(EventSourcedContext context)
Create an entity handler for the given context.- Parameters:
context- The context.- Returns:
- The handler for the given context.
-
-