クラスの使用
org.springframework.core.env.MapPropertySource
パッケージ
説明
Bean 定義プロファイルと階層プロパティソースのサポートで構成される Spring の環境抽象化。
Spring のリソース抽象化のサポートクラス。
このパッケージには、
Environment
および PropertySource
抽象化のモック実装が含まれています。org.springframework.core.env 内の MapPropertySource 使用
修飾子と型クラス説明class
Properties
SE オブジェクトからプロパティを抽出するPropertySource
実装。class
システム環境変数で使用するために設計されたMapPropertySource
の特殊化。org.springframework.core.io.support 内の MapPropertySource 使用
修飾子と型クラス説明class
Resource
または"classpath:/com/myco/foo.properties"
や"file:/path/to/file.xml"
などのリソースの場所からProperties
SE オブジェクトをロードするPropertiesPropertySource
のサブクラス。org.springframework.mock.env 内の MapPropertySource 使用