インターフェースの使用
org.springframework.core.env.ConfigurablePropertyResolver
パッケージ
説明
ApplicationContext 実装および MessageSource 実装の抽象基本クラスなど、org.springframework.context パッケージをサポートするクラス。
Bean 定義プロファイルと階層プロパティソースのサポートで構成される Spring の環境抽象化。
このパッケージには、
Environment
および PropertySource
抽象化のモック実装が含まれています。Web アプリケーションのアプリケーションコンテキストインターフェースのバリアントと、ルート Web アプリケーションコンテキストをブートストラップする ContextLoaderListener が含まれています。
WebApplicationContext 実装やさまざまなユーティリティクラスなど、
org.springframework.web.context
パッケージをサポートするクラス。org.springframework.context.support 内の ConfigurablePropertyResolver 使用
修飾子と型メソッド説明protected ConfigurablePropertyResolver
PropertySourcesPlaceholderConfigurer.createPropertyResolver
(MutablePropertySources propertySources) 指定されたプロパティソースのConfigurablePropertyResolver
を作成します。修飾子と型メソッド説明protected void
PropertySourcesPlaceholderConfigurer.processProperties
(ConfigurableListableBeanFactory beanFactoryToProcess, ConfigurablePropertyResolver propertyResolver) 指定された Bean ファクトリの各 Bean 定義にアクセスし、${...} プロパティのプレースホルダーを指定されたプロパティの値で置き換えようとします。org.springframework.core.env 内の ConfigurablePropertyResolver 使用
修飾子と型クラス説明class
Environment
実装の抽象基本クラス。class
基になるソースに対するプロパティを解決するための抽象基本クラス。class
基になるPropertySources
のセットに対してプロパティ値を解決するPropertyResolver
実装。class
「標準」での使用に適したEnvironment
実装(つまり修飾子と型メソッド説明protected ConfigurablePropertyResolver
AbstractEnvironment.createPropertyResolver
(MutablePropertySources propertySources) 環境で使用されるConfigurablePropertyResolver
インスタンスの作成に使用されるファクトリメソッド。protected final ConfigurablePropertyResolver
AbstractEnvironment.getPropertyResolver()
Environment
によって使用されているConfigurablePropertyResolver
を返します。org.springframework.mock.env 内の ConfigurablePropertyResolver 使用
修飾子と型クラス説明class
org.springframework.web.context 内の ConfigurablePropertyResolver 使用
修飾子と型インターフェース説明interface
ConfigurableEnvironment
の特殊化により、ServletContext
EE および(オプションで)ServletConfig
EE が利用可能になる最も早い時点で、サーブレット関連のPropertySource
オブジェクトを初期化できます。org.springframework.web.context.support 内の ConfigurablePropertyResolver 使用