インターフェースの使用
org.springframework.expression.PropertyAccessor
パッケージ
説明
Spring アプリケーションコンテキスト内の式解析サポート。
Spring Expression Language の背後にあるコア抽象化。
SpEL の中央実装パッケージ。
SpEL の抽象構文ツリー。
さまざまなコア抽象化のための SpEL のデフォルト実装。
org.springframework.context.expression 内の PropertyAccessor 使用
修飾子と型クラス説明class
SpringBeanExpressionContext
の Bean およびコンテキストオブジェクトをトラバースする方法を知っている EL プロパティアクセサー。class
SpringBeanFactory
の Bean をトラバースする方法を知っている EL プロパティアクセサー。class
SpringEnvironment
インスタンスのキーを取得する方法を知っている読み取り専用の EL プロパティアクセサー。class
標準Map
SE のキーをトラバースする方法を知っている EL プロパティアクセサー。org.springframework.expression 内の PropertyAccessor 使用
org.springframework.expression.spel 内の PropertyAccessor 使用
修飾子と型インターフェース説明interface
コンパイル可能なプロパティアクセサーは、アクセス操作を表すバイトコードを生成でき、アクセサーを使用する式のバイトコードへのコンパイルを容易にします。org.springframework.expression.spel.ast 内の PropertyAccessor 使用
修飾子と型メソッド説明static ListSE<PropertyAccessor>
AstUtils.getPropertyAccessorsToTry
(ClassSE<?> targetType, ListSE<PropertyAccessor> propertyAccessors) 指定されたターゲット型のプロパティにアクセスするために使用する必要があるプロパティリゾルバーのセットを決定します。修飾子と型メソッド説明static ListSE<PropertyAccessor>
AstUtils.getPropertyAccessorsToTry
(ClassSE<?> targetType, ListSE<PropertyAccessor> propertyAccessors) 指定されたターゲット型のプロパティにアクセスするために使用する必要があるプロパティリゾルバーのセットを決定します。org.springframework.expression.spel.support 内の PropertyAccessor 使用
修飾子と型クラス説明final class
データバインディングを目的としたPropertyAccessor
バリアント。リフレクションを使用して、読み取りおよび場合によっては書き込みのプロパティにアクセスします。class
リフレクションを使用して、ターゲットインスタンスでの読み取りおよび場合によっては書き込みのプロパティにアクセスする強力なPropertyAccessor
。static class
リフレクションを使用するが、特定のクラスの特定のプロパティにアクセスする方法のみを知っている PropertyAccessor の最適化された形式。修飾子と型メソッド説明ReflectivePropertyAccessor.createOptimalAccessor
(EvaluationContext context, ObjectSE target, StringSE name) 特定のクラスの特定の名前のプロパティに合わせて最適化されたプロパティアクセサーを作成しようとします。修飾子と型メソッド説明SimpleEvaluationContext.getPropertyAccessors()
指定されたPropertyAccessor
デリゲートがある場合はそれを返します。StandardEvaluationContext.getPropertyAccessors()
修飾子と型メソッド説明void
StandardEvaluationContext.addPropertyAccessor
(PropertyAccessor accessor) SimpleEvaluationContext.forPropertyAccessors
(PropertyAccessor... accessors) 指定されたPropertyAccessor
デリゲートのSimpleEvaluationContext
を作成します。通常は、ユースケースに固有のカスタムPropertyAccessor
(たとえばboolean
StandardEvaluationContext.removePropertyAccessor
(PropertyAccessor accessor) 修飾子と型メソッド説明void
StandardEvaluationContext.setPropertyAccessors
(ListSE<PropertyAccessor> propertyAccessors)