Package kalix.javasdk.valueentity
Interface ValueEntityProvider<S,E extends ValueEntity<S>>
public interface ValueEntityProvider<S,E extends ValueEntity<S>>
Register a value based entity in
Kalix
using a
ValueEntityProvider
. The concrete ValueEntityProvider
is generated for the
specific entities defined in Protobuf, for example CustomerEntityProvider
.-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Descriptors.FileDescriptor[]
default Optional
<kalix.javasdk.impl.MessageCodec> newRouter
(ValueEntityContext context) options()
com.google.protobuf.Descriptors.ServiceDescriptor
typeId()
-
Method Details
-
options
ValueEntityOptions options() -
serviceDescriptor
com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor() -
typeId
String typeId() -
newRouter
-
additionalDescriptors
com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors() -
alternativeCodec
-