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 Details

    • IsolatedForwardingInterceptor

      public IsolatedForwardingInterceptor()
  • Method Details

    • delegate

      public abstract jakarta.enterprise.inject.spi.Interceptor<T> delegate()
      Specified by:
      delegate in interface WrappedContextual<T>
      Specified by:
      delegate in class IsolatedForwardingBean<T>
    • 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