Package javax.enterprise.inject.spi
Annotation Type WithAnnotations
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface WithAnnotations
WithAnnotations
may be applied to any portable extension observer method with an event parameter type ofProcessAnnotatedType
to filter the events delivered.If the
WithAnnotations
annotation is applied to a portable extension observer method, then onlyProcessAnnotatedType
events for types which have at least one of the annotations specified are observed. The annotation can appear on the type, or any of it's supertypes, on any field, method or constructor declared by the type, or any of its supertypes, or on any parameter of any method or constructor declared by the type, or any of it's supertypes or may be applied as a meta-annotation.- Since:
- 1.1
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends java.lang.annotation.Annotation>[]
value
-