クラス 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の場合があります)