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 Detail

      • create

        com.akkaserverless.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.