@Target(value={METHOD,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
@Documented
public @interface JmsListeners
JmsListener
アノテーションを集約するコンテナーアノテーション。 いくつかのネストされた JmsListener
アノテーションを宣言して、ネイティブで使用できます。Java 8 の繰り返し可能なアノテーションのサポートと組み合わせて使用することもできます。JmsListener
は同じメソッドで数回宣言するだけで、このコンテナーアノテーションを暗黙的に生成できます。
このアノテーションは、カスタム構成アノテーションを作成するためのメタアノテーションとして使用することができます。
JmsListener
修飾子と型 | 必須要素と説明 |
---|---|
JmsListener[] | value |
public abstract JmsListener[] value