Package io.quarkus.arc
Annotation Interface BindingsSource
Defines a source of interceptor binding annotations. When this annotation
is present on an
InterceptionProxy parameter of a CDI producer method,
the interceptor binding annotations present on the target class are ignored
and instead are read from the class defined by this annotation.
Class-level interceptor bindings of the target class are equal to class-level interceptor bindings on the bindings source class.
Method-level interceptor bindings of a method on the target class are equal to
method-level bindings of a method with the same name, return type, parameter
types and static flag declared on the bindings source class.
These annotations can be present on the value() class:
- interceptor bindings: on the class and on the methods
- stereotypes: on the class
NoClassInterceptors: on the methods
Other annotations on the value() class are ignored.
-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<?> valueThe class from which interceptor binding annotations are read.
-