Package io.temporal.common.interceptors
Interface ActivityInboundCallsInterceptor
-
- All Known Implementing Classes:
ActivityInboundCallsInterceptorBase
public interface ActivityInboundCallsInterceptor
Intercepts inbound calls to the activity execution on the worker side.Prefer extending
ActivityInboundCallsInterceptorBase
and overriding only the methods you need instead of implementing this interface directly.ActivityInboundCallsInterceptorBase
provides correct default implementations to all the methods of this interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ActivityInboundCallsInterceptor.ActivityInput
static class
ActivityInboundCallsInterceptor.ActivityOutput
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityInboundCallsInterceptor.ActivityOutput
execute(ActivityInboundCallsInterceptor.ActivityInput input)
Intercepts a call to the main activity entry method.void
init(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.
-
-