public class Interceptors
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<java.lang.annotation.Annotation> |
filterInterceptorBindings(BeanManagerImpl beanManager,
java.util.Collection<java.lang.annotation.Annotation> annotations)
Extracts a set of interceptor bindings from a collection of annotations.
|
static java.util.Set<java.lang.annotation.Annotation> |
flattenInterceptorBindings(BeanManagerImpl beanManager,
java.util.Collection<java.lang.annotation.Annotation> annotations,
boolean addTopLevelInterceptorBindings,
boolean addInheritedInterceptorBindings)
Extracts a flat set of interception bindings from a given set of interceptor bindings.
|
static Multimap<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> |
mergeBeanInterceptorBindings(BeanManagerImpl beanManager,
AnnotatedType<?> clazz,
java.util.Collection<java.lang.annotation.Annotation> classBindingAnnotations,
java.util.Collection<java.lang.annotation.Annotation> inheritedBindingAnnotations)
Merge class-level interceptor bindings with interceptor bindings inherited from interceptor bindings and stereotypes.
|
static Multimap<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> |
mergeBeanInterceptorBindings(BeanManagerImpl beanManager,
EnhancedAnnotatedType<?> clazz,
java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes)
Merge class-level interceptor bindings with interceptor bindings inherited from interceptor bindings and stereotypes.
|
public static java.util.Set<java.lang.annotation.Annotation> filterInterceptorBindings(BeanManagerImpl beanManager, java.util.Collection<java.lang.annotation.Annotation> annotations)
beanManager - annotations - public static java.util.Set<java.lang.annotation.Annotation> flattenInterceptorBindings(BeanManagerImpl beanManager, java.util.Collection<java.lang.annotation.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<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> mergeBeanInterceptorBindings(BeanManagerImpl beanManager, EnhancedAnnotatedType<?> clazz, java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes)
public static Multimap<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> mergeBeanInterceptorBindings(BeanManagerImpl beanManager, AnnotatedType<?> clazz, java.util.Collection<java.lang.annotation.Annotation> classBindingAnnotations, java.util.Collection<java.lang.annotation.Annotation> inheritedBindingAnnotations)
Copyright © 2015. All Rights Reserved.