public interface PropertySourceFactory
PropertySource
ラッパーを作成するための戦略インターフェース。DefaultPropertySourceFactory
修飾子と型 | メソッドと説明 |
---|---|
PropertySource<?> | createPropertySource(StringSE name, EncodedResource resource) 指定されたリソースをラップする PropertySource を作成します。 |
PropertySource<?> createPropertySource(@Nullable StringSE name, EncodedResource resource) throws IOExceptionSE
PropertySource
を作成します。name
- プロパティソースの名前 (null
にすることができます。その場合、ファクトリ実装は、指定されたリソースに基づいて名前を生成する必要があります)resource
- ラップする(潜在的にエンコードされた)リソース PropertySource
(非 null
)IOExceptionSE
- リソースの解決に失敗した場合