Package io.temporal.common.interceptors
Interface ActivityInboundCallsInterceptor
-
- All Known Implementing Classes:
ActivityInboundCallsInterceptorBase
public interface ActivityInboundCallsInterceptorIntercepts inbound calls to the activity execution on the worker side.Prefer extending
ActivityInboundCallsInterceptorBaseand overriding only the methods you need instead of implementing this interface directly.ActivityInboundCallsInterceptorBaseprovides correct default implementations to all the methods of this interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classActivityInboundCallsInterceptor.ActivityInputstatic classActivityInboundCallsInterceptor.ActivityOutput
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityInboundCallsInterceptor.ActivityOutputexecute(ActivityInboundCallsInterceptor.ActivityInput input)Intercepts a call to the main activity entry method.voidinit(ActivityExecutionContext context)
-
-
-
Method Detail
-
init
void init(ActivityExecutionContext context)
-
execute
ActivityInboundCallsInterceptor.ActivityOutput execute(ActivityInboundCallsInterceptor.ActivityInput input)
Intercepts a call to the main activity entry method.- Returns:
- result of the activity execution.
-
-