Package kalix.javasdk.valueentity
Class ReflectiveValueEntityProvider<S,E extends kalix.javasdk.valueentity.ValueEntity<S>>
Object
kalix.javasdk.valueentity.ReflectiveValueEntityProvider<S,E>
- All Implemented Interfaces:
kalix.javasdk.valueentity.ValueEntityProvider<S,
E>
public class ReflectiveValueEntityProvider<S,E extends kalix.javasdk.valueentity.ValueEntity<S>>
extends Object
implements kalix.javasdk.valueentity.ValueEntityProvider<S,E>
-
Constructor Summary
ConstructorDescriptionReflectiveValueEntityProvider
(Class<E> entityClass, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.valueentity.ValueEntityContext, E> factory, kalix.javasdk.valueentity.ValueEntityOptions options) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Descriptors.FileDescriptor[]
Optional<kalix.javasdk.impl.MessageCodec>
newRouter
(kalix.javasdk.valueentity.ValueEntityContext context) static <S,
E extends kalix.javasdk.valueentity.ValueEntity<S>>
ReflectiveValueEntityProvider<S,E> of
(Class<E> cls, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.valueentity.ValueEntityContext, E> factory) kalix.javasdk.valueentity.ValueEntityOptions
options()
com.google.protobuf.Descriptors.ServiceDescriptor
typeId()
-
Constructor Details
-
ReflectiveValueEntityProvider
-
-
Method Details
-
of
public static <S,E extends kalix.javasdk.valueentity.ValueEntity<S>> ReflectiveValueEntityProvider<S,E> of(Class<E> cls, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.valueentity.ValueEntityContext, E> factory) -
options
public kalix.javasdk.valueentity.ValueEntityOptions options() -
serviceDescriptor
public com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor() -
typeId
-
newRouter
-
additionalDescriptors
public com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors() -
alternativeCodec
-