クラスの使用
org.springframework.core.io.support.PropertiesLoaderSupport
パッケージ
説明
Bean ファクトリの SPI インターフェースおよび構成関連の便利なクラス。
ApplicationContext 実装および MessageSource 実装の抽象基本クラスなど、org.springframework.context パッケージをサポートするクラス。
org.springframework.beans.factory.config 内の PropertiesLoaderSupport 使用
修飾子と型クラス説明class
Bean 定義プロパティ値のプレースホルダーを解決するプロパティリソースコンフィグレータの抽象基本クラス。class
使用すべきではありません。class
Bean ファクトリの Properties インスタンスとして使用可能なクラスパスの場所からプロパティファイルを作成できます。class
アプリケーションコンテキスト定義内の Bean プロパティ値をオーバーライドするプロパティリソースコンフィギュレータ。class
使用すべきではありません。5.2 以降。代わりにorg.springframework.context.support.PropertySourcesPlaceholderConfigurer
を使用してください。org.springframework.context.support.PropertySourcesPlaceholderConfigurer
は、Environment
およびPropertySource
メカニズムを利用することにより柔軟性があります。class
プロパティリソースから個々の Bean プロパティ値の構成を許可します。org.springframework.context.support 内の PropertiesLoaderSupport 使用
修飾子と型クラス説明class
Bean 定義プロパティ値内の ${...} プレースホルダーと、現在の SpringEnvironment
およびPropertySources
のセットに対する@Value
アノテーションを解決するPlaceholderConfigurerSupport
の専門化。
PropertyPlaceholderConfigurer
も同様