Implementors of this contract must be
Named
according to the Intercepted
annotation they support.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Represents the next in line for interception, terminating with a call to the wrapped service provider. -
Method Summary
Modifier and TypeMethodDescription<V> V
proceed
(io.helidon.inject.api.InvocationContext ctx, Interceptor.Chain<V> chain, Object... args) Called during interception of the target V.
-
Method Details
-
proceed
<V> V proceed(io.helidon.inject.api.InvocationContext ctx, Interceptor.Chain<V> chain, Object... args) Called during interception of the target V. The implementation typically should finish with the call toInterceptor.Chain.proceed(java.lang.Object[])
.- Type Parameters:
V
- the return value type (orVoid
for void method elements)- Parameters:
ctx
- the invocation contextchain
- the chain to call proceed onargs
- the arguments to the call- Returns:
- the return value to the caller
- Throws:
InvocationException
- if there are errors during invocation chain processing
-