クラス BoundConfigurationProperties
java.lang.ObjectSE
org.springframework.boot.context.properties.BoundConfigurationProperties
バインドされた
@ConfigurationProperties
を記録および提供する Bean。- 導入:
- 2.3.0
- 作成者:
- Madhura Bhave
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明get
(ConfigurationPropertyName name) 指定された名前にバインドされた構成プロパティを取得します。static BoundConfigurationProperties
get
(ApplicationContext context) 使用可能な場合、指定されたApplicationContext
からBoundConfigurationProperties
を返します。getAll()
すべてのバインドされたプロパティを取得します。
コンストラクターの詳細
BoundConfigurationProperties
public BoundConfigurationProperties()
メソッドの詳細
get
指定された名前にバインドされた構成プロパティを取得します。- パラメーター:
name
- プロパティ名- 戻り値:
- バインドされたプロパティまたは
null
getAll
すべてのバインドされたプロパティを取得します。- 戻り値:
- すべてのバインドされたプロパティのマップ
get
使用可能な場合、指定されたApplicationContext
からBoundConfigurationProperties
を返します。- パラメーター:
context
- 検索するコンテキスト- 戻り値:
BoundConfigurationProperties
またはnull