Class InterceptorImpl<T>

  • All Implemented Interfaces:
    javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.BeanAttributes<T>, javax.enterprise.inject.spi.Interceptor<T>, javax.enterprise.inject.spi.PassivationCapable, DecorableBean<T>

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

      • getInterceptorBindings

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

        public Object intercept​(javax.enterprise.inject.spi.InterceptionType type,
                                T instance,
                                javax.interceptor.InvocationContext ctx)
        Specified by:
        intercept in interface javax.enterprise.inject.spi.Interceptor<T>
      • intercepts

        public boolean intercepts​(javax.enterprise.inject.spi.InterceptionType type)
        Specified by:
        intercepts in interface javax.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>