Annotation Interface RedisListeners


@Target({METHOD,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented public @interface RedisListeners
Container annotation that aggregates several RedisListener annotations.

Can be used natively, declaring several nested RedisListener annotations. Can also be used in conjunction with Java's support for repeatable annotations, where RedisListener can simply be declared several times on the same method, implicitly generating this container annotation.

This annotation may be used as a meta-annotation to create custom composed annotations.

Since:
4.1
Author:
Mark Paluch
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description