Class InterceptionModelInitializer<T>

  • Type Parameters:
    T -

    public class InterceptionModelInitializer<T>
    extends Object
    Initializes InterceptionModel for a Bean or a non-contextual component.
    Author:
    Marko Luksa, Jozef Hartinger
    • Constructor Detail

      • InterceptionModelInitializer

        public InterceptionModelInitializer​(BeanManagerImpl manager,
                                            EnhancedAnnotatedType<T> annotatedType,
                                            javax.enterprise.inject.spi.AnnotatedConstructor<T> constructor,
                                            javax.enterprise.inject.spi.Bean<?> bean)
    • Method Detail

      • init

        public void init()
      • initConstructorDeclaredEjbInterceptors

        public void initConstructorDeclaredEjbInterceptors()
      • mergeMethodInterceptorBindings

        protected Map<Class<? extends Annotation>,​Annotation> mergeMethodInterceptorBindings​(Map<Class<? extends Annotation>,​Annotation> beanBindings,
                                                                                                   Collection<Annotation> methodBindingAnnotations)
        Merges bean interceptor bindings (including inherited ones) with method interceptor bindings. Method interceptor bindings override bean interceptor bindings. The bean binding map is not modified - a copy is used.