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(BeanManagerImpl beanManager,
Collection<Annotation> annotations,
boolean addTopLevelInterceptorBindings,
boolean addInheritedInterceptorBindings)
Extracts a flat set of interception bindings from a given set of interceptor bindings.
|
static Map<Class<? extends Annotation>,Annotation> |
mergeBeanInterceptorBindings(BeanManagerImpl beanManager,
AnnotatedType<?> clazz,
Collection<Annotation> classBindingAnnotations,
Collection<Annotation> inheritedBindingAnnotations)
Merge class-level interceptor bindings with interceptor bindings inherited from interceptor bindings and stereotypes.
|
static Map<Class<? extends Annotation>,Annotation> |
mergeBeanInterceptorBindings(BeanManagerImpl beanManager,
AnnotatedType<?> 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(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 Map<Class<? extends Annotation>,Annotation> mergeBeanInterceptorBindings(BeanManagerImpl beanManager, AnnotatedType<?> clazz, Collection<Class<? extends Annotation>> stereotypes)
public static Map<Class<? extends Annotation>,Annotation> mergeBeanInterceptorBindings(BeanManagerImpl beanManager, AnnotatedType<?> clazz, Collection<Annotation> classBindingAnnotations, Collection<Annotation> inheritedBindingAnnotations)
Copyright © 2013 Seam Framework. All Rights Reserved.