Package javax.enterprise.inject.spi
Annotation Type WithAnnotations
-
@Target(PARAMETER) @Retention(RUNTIME) @Documented public @interface WithAnnotations
This allows for applying an annotation filter toProcessAnnotatedType
. Sample usage:public void processWindowBeans(@Observes @WithAnnotation(WindowBean.class) ProcessAnnotatedType pat) {..}
This Extension method e.g. will get fired for all classes which have a@WindowBean
annotation.- Since:
- 1.1
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends java.lang.annotation.Annotation>[]
value
-
-
-
Element Detail
-
value
java.lang.Class<? extends java.lang.annotation.Annotation>[] value
- Returns:
- the annotations the
ProcessAnnotatedType
should get filtered for
-
-