|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BeforeBeanDiscovery
This event type is thrown by the container before the bean discovery process
begins. If any observer method of the BeforeBeanDiscovery event
throws an exception, the exception is treated as a definition error by the
container.
| Method Summary | |
|---|---|
void |
addAnnotatedType(AnnotatedType<?> type)
Adds a given AnnotatedType to the set
of types which will be scanned during bean discovery. |
void |
addInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType)
Declares an annotation type as an interceptor binding type, and specifies its meta-annotations. |
void |
addQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
Declares an annotation type as a Qualifier qualifier type. |
void |
addScope(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType,
boolean normal,
boolean passivating)
Declares an annotation type as a scope type. |
void |
addStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype,
java.lang.annotation.Annotation... stereotypeDef)
Declares an annotation type as a stereotype, and specifies its meta-annotations. |
| Method Detail |
|---|
void addQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
qualifier - The annotation to treat as a qualifier
void addScope(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType,
boolean normal,
boolean passivating)
scopeType - The annotation type to treat as a
scope typenormal - Indicates if the scope is normalpassivating - Indicates if the scope is
passivation capable
void addStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype,
java.lang.annotation.Annotation... stereotypeDef)
stereotype - The annotation type to treat as a
stereotypestereotypeDef - An optional list of annotations defining the
stereotypevoid addInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType)
bindingType - The annotation type to treat as an interceptor binding
typevoid addAnnotatedType(AnnotatedType<?> type)
AnnotatedType to the set
of types which will be scanned during bean discovery.
type - The AnnotatedType to add
for later scanning
|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 24-November-2009 03:24