Package kalix.javasdk.eventsourced
Class ReflectiveEventSourcedEntityProvider<S,E,ES extends kalix.javasdk.eventsourcedentity.EventSourcedEntity<S,E>>
Object
kalix.javasdk.eventsourced.ReflectiveEventSourcedEntityProvider<S,E,ES>
- All Implemented Interfaces:
kalix.javasdk.eventsourcedentity.EventSourcedEntityProvider<S,
E, ES>
public class ReflectiveEventSourcedEntityProvider<S,E,ES extends kalix.javasdk.eventsourcedentity.EventSourcedEntity<S,E>>
extends Object
implements kalix.javasdk.eventsourcedentity.EventSourcedEntityProvider<S,E,ES>
-
Constructor Summary
ConstructorDescriptionReflectiveEventSourcedEntityProvider
(Class<ES> entityClass, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.eventsourcedentity.EventSourcedEntityContext, ES> factory, kalix.javasdk.eventsourcedentity.EventSourcedEntityOptions options) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Descriptors.FileDescriptor[]
Optional
<kalix.javasdk.impl.MessageCodec> newRouter
(kalix.javasdk.eventsourcedentity.EventSourcedEntityContext context) static <S,
E, ES extends kalix.javasdk.eventsourcedentity.EventSourcedEntity<S, E>>
ReflectiveEventSourcedEntityProvider<S, E, ES> of
(Class<ES> cls, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.eventsourcedentity.EventSourcedEntityContext, ES> factory) kalix.javasdk.eventsourcedentity.EventSourcedEntityOptions
options()
com.google.protobuf.Descriptors.ServiceDescriptor
typeId()
-
Constructor Details
-
ReflectiveEventSourcedEntityProvider
-
-
Method Details
-
of
public static <S,E, ReflectiveEventSourcedEntityProvider<S,ES extends kalix.javasdk.eventsourcedentity.EventSourcedEntity<S, E>> E, ofES> (Class<ES> cls, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.eventsourcedentity.EventSourcedEntityContext, ES> factory) -
options
public kalix.javasdk.eventsourcedentity.EventSourcedEntityOptions options() -
serviceDescriptor
public com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor() -
typeId
-
newRouter
-
additionalDescriptors
public com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors() -
alternativeCodec
-