Package kalix.javasdk.workflow
Class ReflectiveWorkflowProvider<S,W extends kalix.javasdk.workflow.Workflow<S>>
Object
kalix.javasdk.workflow.ReflectiveWorkflowProvider<S,W>
- All Implemented Interfaces:
kalix.javasdk.workflow.WorkflowProvider<S,
W>
public class ReflectiveWorkflowProvider<S,W extends kalix.javasdk.workflow.Workflow<S>>
extends Object
implements kalix.javasdk.workflow.WorkflowProvider<S,W>
-
Constructor Summary
ConstructorDescriptionReflectiveWorkflowProvider
(Class<W> workflowClass, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.workflow.WorkflowContext, W> factory, kalix.javasdk.workflow.WorkflowOptions options) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Descriptors.FileDescriptor[]
Optional<kalix.javasdk.impl.MessageCodec>
newRouter
(kalix.javasdk.workflow.WorkflowContext context) static <S,
W extends kalix.javasdk.workflow.Workflow<S>>
ReflectiveWorkflowProvider<S,W> of
(Class<W> cls, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.workflow.WorkflowContext, W> factory) kalix.javasdk.workflow.WorkflowOptions
options()
com.google.protobuf.Descriptors.ServiceDescriptor
typeId()
-
Constructor Details
-
ReflectiveWorkflowProvider
-
-
Method Details
-
of
public static <S,W extends kalix.javasdk.workflow.Workflow<S>> ReflectiveWorkflowProvider<S,W> of(Class<W> cls, kalix.javasdk.impl.JsonMessageCodec messageCodec, Function<kalix.javasdk.workflow.WorkflowContext, W> factory) -
typeId
-
options
public kalix.javasdk.workflow.WorkflowOptions options() -
serviceDescriptor
public com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor() -
newRouter
-
additionalDescriptors
public com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors() -
alternativeCodec
-