Class InvocationContexts


  • public final class InvocationContexts
    extends Object
    • Method Detail

      • 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