Class InterceptorImpl<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>, jakarta.enterprise.inject.spi.PassivationCapable, ClassBean<T>, DecorableBean<T>, WeldBean<T>

    public class InterceptorImpl<T>
    extends ManagedBean<T>
    implements jakarta.enterprise.inject.spi.Interceptor<T>
    Author:
    Marius Bogoevici
    • Method Detail

      • getInterceptorBindings

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

        public Object intercept​(jakarta.enterprise.inject.spi.InterceptionType type,
                                T instance,
                                jakarta.interceptor.InvocationContext ctx)
        Specified by:
        intercept 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>
      • isSerializable

        public boolean isSerializable()
      • initializeAfterBeanDiscovery

        public void initializeAfterBeanDiscovery()
        Description copied from class: RIBean
        In particular cases, the deployer must perform some initialization operations only after all beans have been deployed (e.g. for initializing decorators taking into account the possibility of having custom decorators which are deployed through portable extensions)
        Overrides:
        initializeAfterBeanDiscovery in class ManagedBean<T>