-
@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 annotated type, or on any member, or any parameter of any member of the annotated type, as defined in section 11.4 Alternative metadata sources. The annotation may be applied as a meta-annotation on any annotation considered.CDI Lite implementations are not required to provide support for Portable Extensions.
- Since:
- 1.1
- Author:
- Pete Muir
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends java.lang.annotation.Annotation>[]
value
-