|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeforeBeanDiscovery
Extension callback before any bean discovery, so extensions can add
annotated types, stereotypes and binding types.
public class MyExtension implements Extension
{
public void beforeBeanDiscovery(@Observes BeforeBeanDiscovery event)
{
...
}
}
Method Summary | |
---|---|
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)
|
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |