クラスの使用
org.springframework.core.env.MutablePropertySources
パッケージ
説明
ApplicationContext 実装および MessageSource 実装の抽象基本クラスなど、org.springframework.context パッケージをサポートするクラス。
Bean 定義プロファイルと階層プロパティソースのサポートで構成される Spring の環境抽象化。
WebApplicationContext 実装やさまざまなユーティリティクラスなど、
org.springframework.web.context
パッケージをサポートするクラス。org.springframework.context.support 内の MutablePropertySources 使用
修飾子と型メソッド説明protected ConfigurablePropertyResolver
PropertySourcesPlaceholderConfigurer.createPropertyResolver
(MutablePropertySources propertySources) 指定されたプロパティソースのConfigurablePropertyResolver
を作成します。org.springframework.core.env 内の MutablePropertySources 使用
修飾子と型メソッド説明AbstractEnvironment.getPropertySources()
ConfigurableEnvironment.getPropertySources()
このEnvironment
のPropertySources
を変更可能な形式で返し、このEnvironment
オブジェクトに対するプロパティを解決するときに検索する必要があるPropertySource
オブジェクトのセットを操作できるようにします。修飾子と型メソッド説明protected ConfigurablePropertyResolver
AbstractEnvironment.createPropertyResolver
(MutablePropertySources propertySources) 環境で使用されるConfigurablePropertyResolver
インスタンスの作成に使用されるファクトリメソッド。protected void
AbstractEnvironment.customizePropertySources
(MutablePropertySources propertySources) AbstractEnvironment.getProperty(String)
および関連メソッドの呼び出し中にこのEnvironment
によって検索されるPropertySource
オブジェクトのセットをカスタマイズします。protected void
StandardEnvironment.customizePropertySources
(MutablePropertySources propertySources) プロパティソースのセットを、標準の Java 環境に適したものでカスタマイズします。"systemProperties" "systemEnvironment"修飾子コンストラクター説明protected
AbstractEnvironment
(MutablePropertySources propertySources) 特定のMutablePropertySources
インスタンスを使用して新しいEnvironment
インスタンスを作成し、構築中にAbstractEnvironment.customizePropertySources(MutablePropertySources)
にコールバックして、サブクラスがPropertySource
インスタンスを適切に提供または操作できるようにします。protected
StandardEnvironment
(MutablePropertySources propertySources) 特定のMutablePropertySources
インスタンスを使用して新しいStandardEnvironment
インスタンスを作成します。org.springframework.web.context.support 内の MutablePropertySources 使用
修飾子と型メソッド説明protected void
StandardServletEnvironment.customizePropertySources
(MutablePropertySources propertySources) プロパティソースのセットを、スーパークラスによって提供されたもの、標準のサーブレットベースの環境に適したものでカスタマイズします。"servletConfigInitParams" "servletContextInitParams" "jndiProperties"static void
WebApplicationContextUtils.initServletPropertySources
(MutablePropertySources propertySources, ServletContextEE servletContext) ServletConfig
EE パラメーターに常にnull
を提供するWebApplicationContextUtils.initServletPropertySources(MutablePropertySources, ServletContext, ServletConfig)
の便利なバリアント。static void
WebApplicationContextUtils.initServletPropertySources
(MutablePropertySources sources, ServletContextEE servletContext, ServletConfigEE servletConfig) Servlet
ベースのstub property sources
を、指定されたservletContext
およびservletConfig
オブジェクトが入力された実際のインスタンスに置き換えます。修飾子コンストラクター説明protected
StandardServletEnvironment
(MutablePropertySources propertySources) 特定のMutablePropertySources
インスタンスを使用して新しいStandardServletEnvironment
インスタンスを作成します。