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 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 interface kalix.javasdk.action.ActionProvider<A extends kalix.javasdk.action.Action>
    • serviceDescriptor

      public com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor()
      Specified by:
      serviceDescriptor in interface kalix.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 interface kalix.javasdk.action.ActionProvider<A extends kalix.javasdk.action.Action>
    • additionalDescriptors

      public com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors()
      Specified by:
      additionalDescriptors in interface kalix.javasdk.action.ActionProvider<A extends kalix.javasdk.action.Action>
    • alternativeCodec

      public Optional<kalix.javasdk.impl.MessageCodec> alternativeCodec()
      Specified by:
      alternativeCodec in interface kalix.javasdk.action.ActionProvider<A extends kalix.javasdk.action.Action>