@TargetSE(valueSE=TYPESE) @RetentionSE(valueSE=RUNTIMESE) @DocumentedSE @Stereotype public @interface Decorator
クラスがデコレータであることを指定します。マネージド Bean クラスに適用できます。
@Decorator
class TimestampLogger implements Logger { ... }
セッション Bean のデコレータは、Jakarta Enterprise Bean 仕様で定義されている Bean プロバイダーのプログラミング制限に準拠する必要があります。ステートフルセッション Bean のデコレータは、Jakarta Enterprise Bean 仕様で定義されているパッシベーションや会話状態などのルールに準拠する必要があります。
@Delegate identifies the delegate injection point of a decorator.Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.