public interface BeforeBeanDiscovery
public class MyExtension implements Extension
{
public void beforeBeanDiscovery(@Observes BeforeBeanDiscovery event)
{
...
}
}
Modifier and Type | Method and Description |
---|---|
void |
addAnnotatedType(AnnotatedType<?> type)
Registers an annotated type with the BeanManager, used by extensions to
register configured beans.
|
void |
addInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType,
java.lang.annotation.Annotation... bindingTypeDef) |
void |
addQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
Registers an annotation as a binding type, so applications can use
existing annotations for binding without modifying the annotation
source.
|
void |
addScope(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType,
boolean isNormal,
boolean isPassivating) |
void |
addStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype,
java.lang.annotation.Annotation... stereotypeDef) |
void addAnnotatedType(AnnotatedType<?> type)
type
- the abstract introspected type for the new beanvoid addInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType, java.lang.annotation.Annotation... bindingTypeDef)
void addQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
bindingType
- the annotation to register as a binding type.void addScope(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType, boolean isNormal, boolean isPassivating)
void addStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype, java.lang.annotation.Annotation... stereotypeDef)