类的使用
org.springframework.core.env.EnumerablePropertySource
使用EnumerablePropertySource的程序包 程序包 说明 org.springframework.core.env Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.org.springframework.core.io.support Support classes for Spring's resource abstraction.org.springframework.mock.env This package contains mock implementations of theEnvironment
andPropertySource
abstractions introduced in Spring 3.1.org.springframework.web.context.support Classes supporting theorg.springframework.web.context
package, such as WebApplicationContext implementations and various utility classes.org.springframework.core.env中EnumerablePropertySource的使用
org.springframework.core.env中EnumerablePropertySource的子类 修饰符和类型 类 说明 class
CommandLinePropertySource<T>
Abstract base class forPropertySource
implementations backed by command line arguments.class
CompositePropertySource
CompositePropertySource
implementation that iterates over a set ofPropertySource
instances.class
JOptCommandLinePropertySource
CommandLinePropertySource
implementation backed by a JOptOptionSet
.class
MapPropertySource
PropertySource
that reads keys and values from aMap
object.class
PropertiesPropertySource
PropertySource
implementation that extracts properties from aProperties
object.class
SimpleCommandLinePropertySource
CommandLinePropertySource
implementation backed by a simple String array.class
SystemEnvironmentPropertySource
Specialization ofMapPropertySource
designed for use with system environment variables.org.springframework.core.io.support中EnumerablePropertySource的使用
org.springframework.core.io.support中EnumerablePropertySource的子类 修饰符和类型 类 说明 class
ResourcePropertySource
Subclass ofPropertiesPropertySource
that loads aProperties
object from a givenResource
or resource location such as"classpath:/com/myco/foo.properties"
or"file:/path/to/file.xml"
.org.springframework.mock.env中EnumerablePropertySource的使用
org.springframework.mock.env中EnumerablePropertySource的子类 修饰符和类型 类 说明 class
MockPropertySource
SimplePropertySource
implementation for use in testing.org.springframework.web.context.support中EnumerablePropertySource的使用
org.springframework.web.context.support中EnumerablePropertySource的子类 修饰符和类型 类 说明 class
ServletConfigPropertySource
PropertySource
that reads init parameters from aServletConfig
object.class
ServletContextPropertySource
PropertySource
that reads init parameters from aServletContext
object.