Package io.quarkus.arc.impl
Class InvocationContexts
- java.lang.Object
-
- io.quarkus.arc.impl.InvocationContexts
-
public final class InvocationContexts extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.interceptor.InvocationContext
aroundConstruct(Constructor<?> constructor, List<InterceptorInvocation> chain, Supplier<Object> aroundConstructForward, Set<Annotation> interceptorBindings)
static Object
performAroundInvoke(Object target, Method method, Function<javax.interceptor.InvocationContext,Object> aroundInvokeForward, Object[] args, List<InterceptorInvocation> chain, Set<Annotation> interceptorBindings)
static javax.interceptor.InvocationContext
postConstruct(Object target, List<InterceptorInvocation> chain, Set<Annotation> interceptorBindings)
static javax.interceptor.InvocationContext
preDestroy(Object target, List<InterceptorInvocation> chain, Set<Annotation> interceptorBindings)
-
-
-
Method Detail
-
performAroundInvoke
public static Object performAroundInvoke(Object target, Method method, Function<javax.interceptor.InvocationContext,Object> aroundInvokeForward, Object[] args, List<InterceptorInvocation> chain, Set<Annotation> interceptorBindings) throws Exception
- Parameters:
target
-method
-aroundInvokeForward
-args
-chain
-interceptorBindings
-- Returns:
- the return value
- Throws:
Exception
-
postConstruct
public static javax.interceptor.InvocationContext postConstruct(Object target, List<InterceptorInvocation> chain, Set<Annotation> interceptorBindings)
- Parameters:
target
-chain
-interceptorBindings
-- Returns:
- a new invocation context
-
preDestroy
public static javax.interceptor.InvocationContext preDestroy(Object target, List<InterceptorInvocation> chain, Set<Annotation> interceptorBindings)
- Parameters:
target
-chain
-interceptorBindings
-- Returns:
- a new invocation context
-
aroundConstruct
public static javax.interceptor.InvocationContext aroundConstruct(Constructor<?> constructor, List<InterceptorInvocation> chain, Supplier<Object> aroundConstructForward, Set<Annotation> interceptorBindings)
- Parameters:
target
-chain
-interceptorBindings
-- Returns:
- a new
AroundConstruct
invocation context
-
-