パッケージ jakarta.enterprise.util
クラス AnnotationLiteral<T extends AnnotationSE>
- java.lang.ObjectSE
-
- jakarta.enterprise.util.AnnotationLiteral<T>
- 型パラメーター:
T- アノテーション型
- 実装済みのインターフェース一覧:
SerializableSE,AnnotationSE
- 既知の直属サブクラス
Alternative.Literal、Any.Literal、ApplicationMap.Literal、ApplicationScoped.Literal、AutoApplySession.Literal、BeforeDestroyed.Literal、ConversationScoped.Literal、Default.Literal、Dependent.Literal、Destroyed.Literal、FacesBehavior.Literal、FacesConfig.Literal、FacesConverter.Literal、FacesDataModel.Literal、FacesValidator.Literal、FlowBuilderParameter.Literal、FlowDefinition.Literal、FlowMap.Literal、HeaderMap.Literal、HeaderValuesMap.Literal、Initialized.Literal、InitParameterMap.Literal、InjectLiteral、LoginToContinue.Literal、ManagedProperty.Literal、NamedLiteral、Nonbinding.Literal、Push.Literal、QualifierLiteral、RememberMe.Literal、RequestCookieMap.Literal、RequestMap.Literal、RequestParameterMap.Literal、RequestParameterValuesMap.Literal、RequestScoped.Literal、SessionMap.Literal、SessionScoped.Literal、SingletonLiteral、Specializes.Literal、TransientReference.Literal、Typed.Literal、Vetoed.Literal、View.Literal、ViewMap.Literal、WebsocketEvent.Closed.Literal、WebsocketEvent.Opened.Literal
public abstract class AnnotationLiteral<T extends AnnotationSE> extends ObjectSE implements AnnotationSE, SerializableSE
アノテーション型インスタンスのインラインインスタンス化をサポートします。
リフレクション操作は、
SecurityActionsユーティリティクラスを使用してセキュリティマネージャーをサポートしています。アノテーション型のインスタンスは、
AnnotationLiteralをサブクラス化することで取得できます。public abstract class PayByQualifier extends AnnotationLiteral<PayBy> implements PayBy { }PayBy payByCheque = new PayByQualifier() { public PaymentMethod value() { return CHEQUE; } };- 作成者:
- Pete Muir, Gavin King, Marko Luksa, Antoine Sabot-Durand
- 関連事項:
Instance.select(Annotation...),Event.select(Annotation...), 連載形式
コンストラクター概要
コンストラクター 修飾子 コンストラクター 説明 protectedAnnotationLiteral()
メソッドの詳細
annotationType
public ClassSE<? extends AnnotationSE> annotationType()
- 次で指定:
- インターフェース
AnnotationSE内のannotationType
toString
public StringSE toString()
- 次で指定:
- インターフェース
AnnotationSE内のtoString - オーバーライド:
- クラス
ObjectSEのtoString
equals
public boolean equals(ObjectSE other)
- 次で指定:
- インターフェース
AnnotationSE内のequalsSE - オーバーライド:
- クラス
ObjectSEのequalsSE
hashCode
public int hashCode()
- 次で指定:
- インターフェース
AnnotationSE内のhashCode - オーバーライド:
- クラス
ObjectSEのhashCode