インターフェースの使用
org.springframework.core.env.PropertyResolver
パッケージ
説明
Bean のリストをソートおよび保持するためのユーティリティクラスなど、org.springframework.beans パッケージをサポートするクラス。
Bean 定義プロファイルと階層プロパティソースのサポートで構成される Spring の環境抽象化。
フレームワーク全体で使用される(ファイルベースの)リソースの一般的な抽象化。
Spring のリソース抽象化のサポートクラス。
このパッケージには、
Environment
および PropertySource
抽象化のモック実装が含まれています。Web アプリケーションのアプリケーションコンテキストインターフェースのバリアントと、ルート Web アプリケーションコンテキストをブートストラップする ContextLoaderListener が含まれています。
WebApplicationContext 実装やさまざまなユーティリティクラスなど、
org.springframework.web.context
パッケージをサポートするクラス。org.springframework.beans.support 内の PropertyResolver 使用
修飾子コンストラクター説明ResourceEditorRegistrar
(ResourceLoader resourceLoader, PropertyResolver propertyResolver) 指定されたResourceLoader
およびPropertyResolver
の新しい ResourceEditorRegistrar を作成します。org.springframework.core.env 内の PropertyResolver 使用
修飾子と型インターフェース説明interface
ほとんどのEnvironment
型によって実装される構成インターフェース。interface
ほとんどのPropertyResolver
型によって実装される構成インターフェース。interface
現在のアプリケーションが実行されている環境を表すインターフェース。修飾子と型クラス説明class
Environment
実装の抽象基本クラス。class
基になるソースに対するプロパティを解決するための抽象基本クラス。class
基になるPropertySources
のセットに対してプロパティ値を解決するPropertyResolver
実装。class
「標準」での使用に適したEnvironment
実装(つまりorg.springframework.core.io 内の PropertyResolver 使用
修飾子コンストラクター説明ResourceEditor
(ResourceLoader resourceLoader, PropertyResolver propertyResolver) ResourceEditor
(ResourceLoader resourceLoader, PropertyResolver propertyResolver, boolean ignoreUnresolvablePlaceholders) 指定されたResourceLoader
を使用して、ResourceEditor
クラスの新しいインスタンスを作成します。org.springframework.core.io.support 内の PropertyResolver 使用
修飾子コンストラクター説明ResourceArrayPropertyEditor
(ResourcePatternResolver resourcePatternResolver, PropertyResolver propertyResolver) 指定されたResourcePatternResolver
およびPropertyResolver
(通常はEnvironment
)で新しい ResourceArrayPropertyEditor を作成します。ResourceArrayPropertyEditor
(ResourcePatternResolver resourcePatternResolver, PropertyResolver propertyResolver, boolean ignoreUnresolvablePlaceholders) 指定されたResourcePatternResolver
およびPropertyResolver
(通常はEnvironment
)で新しい ResourceArrayPropertyEditor を作成します。org.springframework.mock.env 内の PropertyResolver 使用
修飾子と型クラス説明class
org.springframework.web.context 内の PropertyResolver 使用
修飾子と型インターフェース説明interface
ConfigurableEnvironment
の特殊化により、ServletContext
EE および(オプションで)ServletConfig
EE が利用可能になる最も早い時点で、サーブレット関連のPropertySource
オブジェクトを初期化できます。org.springframework.web.context.support 内の PropertyResolver 使用