Interface WorkflowClientInterceptor
- All Known Implementing Classes:
WorkflowClientInterceptorBase
-
Method Summary
Modifier and TypeMethodDescriptionnewUntypedWorkflowStub(io.temporal.api.common.v1.WorkflowExecution execution, Optional<String> workflowType, WorkflowStub next) Deprecated.newUntypedWorkflowStub(String workflowType, WorkflowOptions options, WorkflowStub next) Deprecated.consider implementing all intercepting functionality usingWorkflowClientCallsInterceptorthat is produced inworkflowClientCallsInterceptor(io.temporal.common.interceptors.WorkflowClientCallsInterceptor).Called once during creation of WorkflowClient to create a chain of Client Workflow Interceptors
-
Method Details
-
newUntypedWorkflowStub
@Deprecated WorkflowStub newUntypedWorkflowStub(String workflowType, WorkflowOptions options, WorkflowStub next) Deprecated.consider implementing all intercepting functionality usingWorkflowClientCallsInterceptorthat is produced inworkflowClientCallsInterceptor(io.temporal.common.interceptors.WorkflowClientCallsInterceptor). This method has to stay temporary because TimeLockingInterceptor has to intercept top levelWorkflowStubmethods.Called when workflow stub is instantiated during creation of new workflow. It allows to decorate calls toWorkflowStubinstance which is an entry point for client code.- Returns:
- decorated stub
-
newUntypedWorkflowStub
@Deprecated WorkflowStub newUntypedWorkflowStub(io.temporal.api.common.v1.WorkflowExecution execution, Optional<String> workflowType, WorkflowStub next) Deprecated.consider implementing all intercepting functionality usingWorkflowClientCallsInterceptorthat is produced inworkflowClientCallsInterceptor(io.temporal.common.interceptors.WorkflowClientCallsInterceptor). This method has to stay temporary because TimeLockingInterceptor has to intercept top levelWorkflowStubmethods.Called when workflow stub is instantiated for a known existing workflow execution. It allows to decorate calls toWorkflowStubinstance which is an entry point for client code.- Returns:
- decorated stub
-
newActivityCompletionClient
-
workflowClientCallsInterceptor
Called once during creation of WorkflowClient to create a chain of Client Workflow Interceptors- Parameters:
next- next workflow client interceptor in the chain of interceptors- Returns:
- new interceptor that should decorate calls to
next
-
WorkflowClientCallsInterceptorthat is produced inworkflowClientCallsInterceptor(io.temporal.common.interceptors.WorkflowClientCallsInterceptor).