public class Interceptors extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<Annotation> |
filterInterceptorBindings(BeanManagerImpl beanManager,
Collection<Annotation> annotations)
Extracts a set of interceptor bindings from a collection of annotations.
|
static Set<Annotation> |
flattenInterceptorBindings(EnhancedAnnotatedType<?> clazz,
BeanManagerImpl beanManager,
Collection<Annotation> annotations,
boolean addTopLevelInterceptorBindings,
boolean addInheritedInterceptorBindings)
Extracts a flat set of interception bindings from a given set of interceptor bindings.
|
static Multimap<Class<? extends Annotation>,Annotation> |
mergeBeanInterceptorBindings(BeanManagerImpl beanManager,
javax.enterprise.inject.spi.AnnotatedType<?> clazz,
Collection<Annotation> classBindingAnnotations,
Collection<Annotation> inheritedBindingAnnotations)
Merge class-level interceptor bindings with interceptor bindings inherited from interceptor bindings and stereotypes.
|
static Multimap<Class<? extends Annotation>,Annotation> |
mergeBeanInterceptorBindings(BeanManagerImpl beanManager,
EnhancedAnnotatedType<?> clazz,
Collection<Class<? extends Annotation>> stereotypes)
Merge class-level interceptor bindings with interceptor bindings inherited from interceptor bindings and stereotypes.
|
public static Set<Annotation> filterInterceptorBindings(BeanManagerImpl beanManager, Collection<Annotation> annotations)
beanManager - annotations - public static Set<Annotation> flattenInterceptorBindings(EnhancedAnnotatedType<?> clazz, BeanManagerImpl beanManager, Collection<Annotation> annotations, boolean addTopLevelInterceptorBindings, boolean addInheritedInterceptorBindings)
addTopLevelInterceptorBindings - add top level interceptor bindings to the result set.addInheritedInterceptorBindings - add inherited level interceptor bindings to the result set.public static Multimap<Class<? extends Annotation>,Annotation> mergeBeanInterceptorBindings(BeanManagerImpl beanManager, EnhancedAnnotatedType<?> clazz, Collection<Class<? extends Annotation>> stereotypes)
public static Multimap<Class<? extends Annotation>,Annotation> mergeBeanInterceptorBindings(BeanManagerImpl beanManager, javax.enterprise.inject.spi.AnnotatedType<?> clazz, Collection<Annotation> classBindingAnnotations, Collection<Annotation> inheritedBindingAnnotations)
Copyright © 2017. All rights reserved.