Class ReflectiveViewProvider<S,V extends kalix.javasdk.view.View<S>>

Object
kalix.javasdk.view.ReflectiveViewProvider<S,V>
All Implemented Interfaces:
kalix.javasdk.view.ViewProvider

public class ReflectiveViewProvider<S,V extends kalix.javasdk.view.View<S>> extends Object implements kalix.javasdk.view.ViewProvider
  • Method Details

    • of

      public static <S, V extends kalix.javasdk.view.View<S>> ReflectiveViewProvider<S,V> of(Class<V> cls, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.view.ViewCreationContext,V> factory)
    • serviceDescriptor

      public com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor()
      Specified by:
      serviceDescriptor in interface kalix.javasdk.view.ViewProvider
    • viewId

      public String viewId()
      Specified by:
      viewId in interface kalix.javasdk.view.ViewProvider
    • options

      public kalix.javasdk.view.ViewOptions options()
      Specified by:
      options in interface kalix.javasdk.view.ViewProvider
    • newRouter

      public kalix.javasdk.impl.view.ViewRouter<S,V> newRouter(kalix.javasdk.view.ViewCreationContext context)
      Specified by:
      newRouter in interface kalix.javasdk.view.ViewProvider
    • additionalDescriptors

      public com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors()
      Specified by:
      additionalDescriptors in interface kalix.javasdk.view.ViewProvider
    • alternativeCodec

      public Optional<kalix.javasdk.impl.MessageCodec> alternativeCodec()
      Specified by:
      alternativeCodec in interface kalix.javasdk.view.ViewProvider