Interface WorkflowOutboundCallsInterceptor

All Known Implementing Classes:
WorkflowOutboundCallsInterceptorBase

@Experimental public interface WorkflowOutboundCallsInterceptor
Can be used to intercept calls from to workflow code into the Temporal APIs.

The calls to the interceptor are executed in the context of a workflow and must follow the same rules all the other workflow code follows.

Prefer extending WorkflowOutboundCallsInterceptorBase and overriding only the methods you need instead of implementing this interface directly. WorkflowOutboundCallsInterceptorBase provides correct default implementations to all the methods of this interface.

An instance may be created in WorkflowInboundCallsInterceptor.init(WorkflowOutboundCallsInterceptor) and set by passing it into init method of the next WorkflowInboundCallsInterceptor The implementation must forward all the calls to the outbound interceptor passed as a outboundCalls parameter to the init call.

See Also: