Package io.temporal.common.interceptors
Class WorkerInterceptorBase
- java.lang.Object
-
- io.temporal.common.interceptors.WorkerInterceptorBase
-
- All Implemented Interfaces:
WorkerInterceptor
public class WorkerInterceptorBase extends java.lang.Object implements WorkerInterceptor
-
-
Constructor Summary
Constructors Constructor Description WorkerInterceptorBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityInboundCallsInterceptor
interceptActivity(ActivityInboundCallsInterceptor next)
WorkflowInboundCallsInterceptor
interceptWorkflow(WorkflowInboundCallsInterceptor next)
Called when workflow class is instantiated.
-
-
-
Method Detail
-
interceptWorkflow
public WorkflowInboundCallsInterceptor interceptWorkflow(WorkflowInboundCallsInterceptor next)
Description copied from interface:WorkerInterceptor
Called when workflow class is instantiated. May create aWorkflowInboundCallsInterceptor
instance. The instance must forward all the calls tonext
WorkflowInboundCallsInterceptor
, but it may change the input parameters.- Specified by:
interceptWorkflow
in interfaceWorkerInterceptor
- Parameters:
next
- an existing interceptor instance to be proxied by the interceptor created inside this method- Returns:
- an interceptor that passes all the calls to
next
-
interceptActivity
public ActivityInboundCallsInterceptor interceptActivity(ActivityInboundCallsInterceptor next)
- Specified by:
interceptActivity
in interfaceWorkerInterceptor
-
-