クラス BoundPropertiesTrackingBindHandler
java.lang.ObjectSE
org.springframework.boot.context.properties.bind.AbstractBindHandler
org.springframework.boot.context.properties.bind.BoundPropertiesTrackingBindHandler
- 実装されたすべてのインターフェース:
BindHandler
バインドされた構成プロパティを追跡するために使用できる
BindHandler
。- 導入:
- 2.3.0
- 作成者:
- Madhura Bhave
フィールドサマリー
インターフェース org.springframework.boot.context.properties.bind.BindHandler から継承されたフィールド
DEFAULT
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明onSuccess
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) 要素のバインディングが成功した結果で終了すると呼び出されます。クラス org.springframework.boot.context.properties.bind.AbstractBindHandler から継承されたメソッド
onFailure, onFinish, onStart
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.boot.context.properties.bind.BindHandler から継承されたメソッド
onCreate
コンストラクターの詳細
BoundPropertiesTrackingBindHandler
メソッドの詳細
onSuccess
public ObjectSE onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) インターフェースからコピーされた説明:BindHandler
要素のバインディングが成功した結果で終了すると呼び出されます。実装は、最終的に返される結果を変更したり、追加検証を実行したりする場合があります。- 次で指定:
- インターフェース
BindHandler
のonSuccess
- オーバーライド:
- クラス
AbstractBindHandler
のonSuccess
- パラメーター:
name
- バインドされている要素の名前target
- バインドされているアイテムcontext
- バインドコンテキストresult
- バインドされた結果 (非null
)- 戻り値:
- 使用すべき実際の結果 (
null
の場合があります)