パッケージ | 説明 |
---|---|
org.springframework.core.env | Bean 定義プロファイルと階層プロパティソースのサポートで構成される Spring の環境抽象化。 |
org.springframework.core.io.support | Spring のリソース抽象化のサポートクラス。 |
org.springframework.jndi | このパッケージのクラスを使用すると、JNDI が使いやすくなり、JNDI に格納されている構成へのアクセスが容易になり、JNDI アクセスクラスに便利なスーパークラスが提供されます。 |
org.springframework.mock.env | このパッケージには、Spring 3.1 で導入された Environment および PropertySource 抽象化のモック実装が含まれています。 |
org.springframework.web.context.support | WebApplicationContext 実装やさまざまなユーティリティクラスなど、 org.springframework.web.context パッケージをサポートするクラス。 |
修飾子と型 | クラスと説明 |
---|---|
class | CommandLinePropertySource<T> コマンドライン引数に基づく PropertySource 実装の抽象基本クラス。 |
class | CompositePropertySource PropertySource インスタンスのセットを反復処理する複合 PropertySource 実装。 |
class | EnumerablePropertySource<T> 基になるソースオブジェクトに問い合わせて、可能なすべてのプロパティの名前と値のペアを列挙できる PropertySource 実装。 |
class | JOptCommandLinePropertySource JOpt OptionSet による CommandLinePropertySource 実装。 |
class | MapPropertySource Map オブジェクトからキーと値を読み取る PropertySource 。 |
class | PropertiesPropertySource Properties SE オブジェクトからプロパティを抽出する PropertySource 実装。 |
static class | PropertySource.StubPropertySource 実際のプロパティソースをアプリケーションコンテキストの作成時に積極的に初期化できない場合にプレースホルダーとして使用される PropertySource 。 |
class | SimpleCommandLinePropertySource 単純な文字列配列に裏付けされた CommandLinePropertySource 実装。 |
class | SystemEnvironmentPropertySource システム環境変数で使用するために設計された MapPropertySource の特殊化。 |
修飾子と型 | メソッドと説明 |
---|---|
PropertySource<?> | PropertySources.get(StringSE name) 指定された名前、 null が見つからない場合、プロパティソースを返します。 |
PropertySource<?> | MutablePropertySources.get(StringSE name) |
static PropertySource<?> | PropertySource.named(StringSE name) コレクションの比較のみを目的とした PropertySource 実装を返します。 |
PropertySource<?> | MutablePropertySources.remove(StringSE name) 指定された名前のプロパティソースを削除して返します。見つからない場合は null を返します。 |
修飾子と型 | メソッドと説明 |
---|---|
CollectionSE<PropertySource<?>> | CompositePropertySource.getPropertySources() この複合ソースが保持するすべてのプロパティソースを返します。 |
IteratorSE<PropertySource<?>> | MutablePropertySources.iterator() |
SpliteratorSE<PropertySource<?>> | MutablePropertySources.spliterator() |
default StreamSE<PropertySource<?>> | PropertySources.stream() プロパティソースを含むシーケンシャル Stream SE を返します。 |
StreamSE<PropertySource<?>> | MutablePropertySources.stream() |
修飾子と型 | メソッドと説明 |
---|---|
void | MutablePropertySources.addAfter(StringSE relativePropertySourceName, PropertySource<?> propertySource) 指定されたプロパティソースオブジェクトを、名前付きの相対プロパティソースのすぐ下の優先順位で追加します。 |
void | MutablePropertySources.addBefore(StringSE relativePropertySourceName, PropertySource<?> propertySource) 指定されたプロパティソースオブジェクトを、指定された相対プロパティソースのすぐ上の優先順位で追加します。 |
void | MutablePropertySources.addFirst(PropertySource<?> propertySource) 指定されたプロパティソースオブジェクトを最高の優先順位で追加します。 |
void | CompositePropertySource.addFirstPropertySource(PropertySource<?> propertySource) 指定された PropertySource をチェーンの先頭に追加します。 |
void | MutablePropertySources.addLast(PropertySource<?> propertySource) 優先順位が最も低い指定されたプロパティソースオブジェクトを追加します。 |
void | CompositePropertySource.addPropertySource(PropertySource<?> propertySource) 指定された PropertySource をチェーンの末尾に追加します。 |
protected void | MutablePropertySources.assertLegalRelativeAddition(StringSE relativePropertySourceName, PropertySource<?> propertySource) 指定されたプロパティソースがそれ自体に対して追加されていないことを確認してください。 |
protected void | PropertySourcesPropertyResolver.logKeyFound(StringSE key, PropertySource<?> propertySource, ObjectSE value) 指定された PropertySource で見つかった指定されたキーをログに記録し、結果として指定された値を取得します。 |
int | MutablePropertySources.precedenceOf(PropertySource<?> propertySource) 指定されたプロパティソースの優先順位を返します。見つからない場合は -1 を返します。 |
protected void | MutablePropertySources.removeIfPresent(PropertySource<?> propertySource) 指定されたプロパティソースが存在する場合は削除します。 |
void | MutablePropertySources.replace(StringSE name, PropertySource<?> propertySource) 指定された名前のプロパティソースを指定されたプロパティソースオブジェクトに置き換えます。 |
修飾子と型 | クラスと説明 |
---|---|
class | ResourcePropertySource Resource または "classpath:/com/myco/foo.properties" や "file:/path/to/file.xml" などのリソースの場所から Properties SE オブジェクトをロードする PropertiesPropertySource のサブクラス。 |
修飾子と型 | メソッドと説明 |
---|---|
PropertySource<?> | PropertySourceFactory.createPropertySource(StringSE name, EncodedResource resource) 指定されたリソースをラップする PropertySource を作成します。 |
PropertySource<?> | DefaultPropertySourceFactory.createPropertySource(StringSE name, EncodedResource resource) |
修飾子と型 | クラスと説明 |
---|---|
class | JndiPropertySource 基になる Spring JndiLocatorDelegate からプロパティを読み取る PropertySource 実装。 |
修飾子と型 | クラスと説明 |
---|---|
class | MockPropertySource テストで使用する単純な PropertySource 実装。 |
修飾子と型 | クラスと説明 |
---|---|
class | ServletConfigPropertySource ServletConfig EE オブジェクトから初期化パラメーターを読み取る PropertySource 。 |
class | ServletContextPropertySource ServletContext EE オブジェクトから初期化パラメーターを読み取る PropertySource 。 |