Annotation Interface PulsarListeners
@Target({TYPE,METHOD,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
public @interface PulsarListeners
Container annotation that aggregates several
PulsarListener
annotations.
Can be used natively, declaring several nested PulsarListener
annotations. Can
also be used in conjunction with Java 8's support for repeatable annotations, where
PulsarListener
can simply be declared several times on the same method (or
class), implicitly generating this container annotation.
- Author:
- Soby Chacko, Chris Bono
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
value
PulsarListener[] value
-