Package kalix.javasdk.impl
Interface EventSourcedEntityFactory
public interface EventSourcedEntityFactory
Low level interface for handling events and commands on an entity.
Generally, this should not be needed, instead, a class extending a generated abstract EventSourcedEntity
should be used.
-
Method Summary
Modifier and TypeMethodDescriptionkalix.javasdk.impl.eventsourcedentity.EventSourcedEntityRouter<?,
?, ?> create
(EventSourcedEntityContext context) Create an entity handler for the given context.
-
Method Details
-
create
kalix.javasdk.impl.eventsourcedentity.EventSourcedEntityRouter<?,?, create?> (EventSourcedEntityContext context) Create an entity handler for the given context.- Parameters:
context
- The context.- Returns:
- The handler for the given context.
-