Interface EventSourcedEntityProvider<S,​E extends EventSourcedEntity<S>>


  • public interface EventSourcedEntityProvider<S,​E extends EventSourcedEntity<S>>
    Register an event sourced entity in AkkaServerless using a EventSourcedEntityProvider. The concrete EventSourcedEntityProvider is generated for the specific entities defined in Protobuf, for example CustomerEntityProvider .
    • Method Detail

      • serviceDescriptor

        com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor()
      • entityType

        String entityType()
      • newRouter

        com.akkaserverless.javasdk.impl.eventsourcedentity.EventSourcedEntityRouter<S,​E> newRouter​(EventSourcedEntityContext context)
      • additionalDescriptors

        com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors()