java.lang.Object
io.helidon.pico.runtime.Invocation<V>
- Type Parameters:
V- the invocation type
- All Implemented Interfaces:
Interceptor.Chain<V>
Handles the invocation of
Interceptor methods.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> VcreateInvokeAndSupply(InvocationContext ctx, Supplier<V> call, Object... args) Creates an instance ofInvocationand invokes it in this context.mergeAndCollapse(List<Provider<T>>... lists) Merges a variable number of lists together, where the net result is the merged set of non-null providers ranked in proper weight order, or else empty list.Call the next interceptor in line, or finishing with the call to the service provider.toString()
-
Method Details
-
toString
-
createInvokeAndSupply
Creates an instance ofInvocationand invokes it in this context.- Type Parameters:
V- the type returned from the method element- Parameters:
ctx- the invocation contextcall- the call to the base service provider's methodargs- the call arguments- Returns:
- the invocation instance
-
mergeAndCollapse
Merges a variable number of lists together, where the net result is the merged set of non-null providers ranked in proper weight order, or else empty list.- Type Parameters:
T- the type of the provider- Parameters:
lists- the lists to merge- Returns:
- the merged result, or null instead of empty lists
-
proceed
Description copied from interface:Interceptor.ChainCall the next interceptor in line, or finishing with the call to the service provider.- Specified by:
proceedin interfaceInterceptor.Chain<V>- Parameters:
args- the arguments pass- Returns:
- the result of the call
-