Class InvocationContexts


  • public final class InvocationContexts
    extends Object
    • Method Detail

      • postConstruct

        public static jakarta.interceptor.InvocationContext postConstruct​(Object target,
                                                                          List<InterceptorInvocation> chain,
                                                                          Set<Annotation> interceptorBindings)
        Parameters:
        target -
        chain -
        interceptorBindings -
        Returns:
        a new invocation context
      • preDestroy

        public static jakarta.interceptor.InvocationContext preDestroy​(Object target,
                                                                       List<InterceptorInvocation> chain,
                                                                       Set<Annotation> interceptorBindings)
        Parameters:
        target -
        chain -
        interceptorBindings -
        Returns:
        a new invocation context
      • aroundConstruct

        public static jakarta.interceptor.InvocationContext aroundConstruct​(Constructor<?> constructor,
                                                                            List<InterceptorInvocation> chain,
                                                                            Supplier<Object> aroundConstructForward,
                                                                            Set<Annotation> interceptorBindings)
        Parameters:
        target -
        chain -
        interceptorBindings -
        Returns:
        a new AroundConstruct invocation context