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