Slide 28
Slide 28 text
CDI 2.0AnnotatedTypeConfigurator
CDI 1.x
CDI 2.0 AnnotatedTypeConfigurator
30
public interface BeforeBeanDiscovery {
void addQualifier(Class extends Annotation> qualifier);
void addQualifier(AnnotatedType extends Annotation> qualifier);
void addScope(Class extends Annotation> scopeType, boolean normal, boolean passivating);
void addStereotype(Class extends Annotation> stereotype, Annotation... stereotypeDef);
void addInterceptorBinding(AnnotatedType extends Annotation> bindingType);
void addInterceptorBinding(Class extends Annotation> bindingType, Annotation... bindingTypeDef);
void addAnnotatedType(AnnotatedType extends Annotation> type, String id);
AnnotatedTypeConfigurator addAnnotatedType(Class type, String id);
AnnotatedTypeConfigurator configureQualifier(Class qualifier);
AnnotatedTypeConfigurator configureInterceptorBinding(Class bt);
}