パッケージ 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
、BasicAuthenticationMechanismDefinition.BasicAuthenticationMechanism.Literal
、BeforeDestroyed.Literal
、ConversationScoped.Literal
、CustomFormAuthenticationMechanismDefinition.CustomFormAuthenticationMechanism.Literal
、Default.Literal
、Dependent.Literal
、Destroyed.Literal
、FacesBehavior.Literal
、FacesConfig.Literal
、FacesConverter.Literal
、FacesDataModel.Literal
、FacesValidator.Literal
、FlowBuilderParameter.Literal
、FlowDefinition.Literal
、FlowMap.Literal
、FormAuthenticationMechanismDefinition.FormAuthenticationMechanism.Literal
、HeaderMap.Literal
、HeaderValuesMap.Literal
、Initialized.Literal
、InitParameterMap.Literal
、InjectLiteral
、LoginToContinue.Literal
、ManagedProperty.Literal
、NamedLiteral
、Nonbinding.Literal
、OpenIdAuthenticationMechanismDefinition.OpenIdAuthenticationMechanism.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
をサブクラス化することによって取得できます。サブクラスは、Annotation
SE 契約を満たすためにアノテーションインターフェースを実装する必要があります。
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
- 関連事項:
コンストラクターの概要
コンストラクターメソッドのサマリー
コンストラクターの詳細
AnnotationLiteral
protected AnnotationLiteral()サブクラス専用のリテラルコンストラクター。
メソッドの詳細
annotationType
- 次で指定:
- インターフェース
AnnotationSE
のannotationType
toString
- 次で指定:
- インターフェース
AnnotationSE
のtoString
- オーバーライド:
- クラス
ObjectSE
のtoString
equals
- 次で指定:
- インターフェース
AnnotationSE
のequalsSE
- オーバーライド:
- クラス
ObjectSE
のequalsSE
hashCode
public int hashCode()- 次で指定:
- インターフェース
AnnotationSE
のhashCode
- オーバーライド:
- クラス
ObjectSE
のhashCode