注释类型 JmsListeners
@Target({METHOD,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented public @interface JmsListeners
Container annotation that aggregates severalJmsListener
annotations.Can be used natively, declaring several nested
JmsListener
annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, whereJmsListener
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.
- 从以下版本开始:
- 4.2
- 作者:
- Stephane Nicoll
- 另请参阅:
JmsListener
必需元素概要
所需元素 修饰符和类型 必需的元素 说明 JmsListener[]
value
元素详细资料
value
JmsListener[] value