Package kalix.javasdk.action
Class ReflectiveActionProvider<A extends kalix.javasdk.action.Action>
Object
kalix.javasdk.action.ReflectiveActionProvider<A>
- All Implemented Interfaces:
kalix.javasdk.action.ActionProvider<A>
public class ReflectiveActionProvider<A extends kalix.javasdk.action.Action>
extends Object
implements kalix.javasdk.action.ActionProvider<A>
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Descriptors.FileDescriptor[]
Optional<kalix.javasdk.impl.MessageCodec>
kalix.javasdk.impl.action.ActionRouter<A>
newRouter
(kalix.javasdk.action.ActionCreationContext context) static <A extends kalix.javasdk.action.Action>
ReflectiveActionProvider<A>of
(Class<A> cls, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.action.ActionCreationContext, A> factory) kalix.javasdk.action.ActionOptions
options()
com.google.protobuf.Descriptors.ServiceDescriptor
-
Method Details
-
of
public static <A extends kalix.javasdk.action.Action> ReflectiveActionProvider<A> of(Class<A> cls, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.action.ActionCreationContext, A> factory) -
options
public kalix.javasdk.action.ActionOptions options()- Specified by:
options
in interfacekalix.javasdk.action.ActionProvider<A extends kalix.javasdk.action.Action>
-
serviceDescriptor
public com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor()- Specified by:
serviceDescriptor
in interfacekalix.javasdk.action.ActionProvider<A extends kalix.javasdk.action.Action>
-
newRouter
public kalix.javasdk.impl.action.ActionRouter<A> newRouter(kalix.javasdk.action.ActionCreationContext context) - Specified by:
newRouter
in interfacekalix.javasdk.action.ActionProvider<A extends kalix.javasdk.action.Action>
-
additionalDescriptors
public com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors()- Specified by:
additionalDescriptors
in interfacekalix.javasdk.action.ActionProvider<A extends kalix.javasdk.action.Action>
-
alternativeCodec
- Specified by:
alternativeCodec
in interfacekalix.javasdk.action.ActionProvider<A extends kalix.javasdk.action.Action>
-