Class IsolatedForwardingInterceptor<T>

  • All Implemented Interfaces:
    jakarta.enterprise.context.spi.Contextual<T>, jakarta.enterprise.inject.spi.Bean<T>, jakarta.enterprise.inject.spi.BeanAttributes<T>, jakarta.enterprise.inject.spi.Interceptor<T>, WrappedContextual<T>
    Direct Known Subclasses:
    ForwardingInterceptor, IsolatedForwardingInterceptor.Impl

    public abstract class IsolatedForwardingInterceptor<T>
    extends IsolatedForwardingBean<T>
    implements jakarta.enterprise.inject.spi.Interceptor<T>
    Delegating implementation of Interceptor. Separate delegate is used for BeanAttributes methods, allowing this class to be used for processing of extension-provided beans.
    Author:
    Jozef Hartinger
    See Also:
    ProcessBeanAttributes
    • Constructor Detail

      • IsolatedForwardingInterceptor

        public IsolatedForwardingInterceptor()
    • Method Detail

      • getInterceptorBindings

        public Set<Annotation> getInterceptorBindings()
        Specified by:
        getInterceptorBindings in interface jakarta.enterprise.inject.spi.Interceptor<T>
      • intercepts

        public boolean intercepts​(jakarta.enterprise.inject.spi.InterceptionType type)
        Specified by:
        intercepts in interface jakarta.enterprise.inject.spi.Interceptor<T>
      • intercept

        public Object intercept​(jakarta.enterprise.inject.spi.InterceptionType type,
                                T instance,
                                jakarta.interceptor.InvocationContext ctx)
                         throws Exception
        Specified by:
        intercept in interface jakarta.enterprise.inject.spi.Interceptor<T>
        Throws:
        Exception