public interface BeforeBeanDiscovery
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotatedType(AnnotatedType<?> type)
Adds new annotated type.
|
void |
addAnnotatedType(AnnotatedType<?> type,
String id)
Adds new annotated type for classes which are not picked up by the CDI container
or if you like to add multiple AnnotatedType for the same class.
|
<T> AnnotatedTypeConfigurator<T> |
addAnnotatedType(Class<T> clazz,
String id) |
void |
addInterceptorBinding(AnnotatedType<? extends Annotation> bindingType)
Declare a new interceptor binding via the information from the given AnnotatedType.
|
void |
addInterceptorBinding(Class<? extends Annotation> binding,
Annotation... bindingDef)
Declares a new interceptor binding.
|
void |
addQualifier(AnnotatedType<? extends Annotation> qualifier)
Declare a new qualifier via the information from the given AnnotatedType.
|
void |
addQualifier(Class<? extends Annotation> qualifier)
Declares a new qualifier.
|
void |
addScope(Class<? extends Annotation> scope,
boolean normal,
boolean passivating)
Declares a new scope.
|
void |
addStereotype(Class<? extends Annotation> stereotype,
Annotation... stereotypeDef)
Declares a new stereotype.
|
<T extends Annotation> |
configureInterceptorBinding(Class<T> interceptorBindingType) |
<T extends Annotation> |
configureQualifier(Class<T> qualifier) |
void addQualifier(Class<? extends Annotation> qualifier)
qualifier - qualifiervoid addQualifier(AnnotatedType<? extends Annotation> qualifier)
qualifier - void addScope(Class<? extends Annotation> scope, boolean normal, boolean passivating)
scope - scopenormal - is normal or notpassivating - passivated or notvoid addStereotype(Class<? extends Annotation> stereotype, Annotation... stereotypeDef)
stereotype - stereotype classstereotypeDef - meta annotationsvoid addInterceptorBinding(Class<? extends Annotation> binding, Annotation... bindingDef)
binding - binding classbindingDef - meta annotationsvoid addInterceptorBinding(AnnotatedType<? extends Annotation> bindingType)
bindingType - void addAnnotatedType(AnnotatedType<?> type)
type - annotated typevoid addAnnotatedType(AnnotatedType<?> type, String id)
type - annotated typeid - to distinguish AnnotatedTypes for the same class.<T> AnnotatedTypeConfigurator<T> addAnnotatedType(Class<T> clazz, String id)
T - clazz - to addid - of the annotated type<T extends Annotation> AnnotatedTypeConfigurator<T> configureInterceptorBinding(Class<T> interceptorBindingType)
T - interceptorBindingType - <T extends Annotation> AnnotatedTypeConfigurator<T> configureQualifier(Class<T> qualifier)
T - qualifier - Copyright © 2025. All rights reserved.