类的使用
org.springframework.core.env.AbstractEnvironment
使用AbstractEnvironment的程序包 程序包 说明 org.springframework.core.env Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.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中AbstractEnvironment的使用
org.springframework.core.env中AbstractEnvironment的子类 修饰符和类型 类 说明 class
StandardEnvironment
Environment
implementation suitable for use in 'standard' (i.e. non-web) applications.org.springframework.mock.env中AbstractEnvironment的使用
org.springframework.mock.env中AbstractEnvironment的子类 修饰符和类型 类 说明 class
MockEnvironment
SimpleConfigurableEnvironment
implementation exposingMockEnvironment.setProperty(String, String)
andMockEnvironment.withProperty(String, String)
methods for testing purposes.org.springframework.web.context.support中AbstractEnvironment的使用
org.springframework.web.context.support中AbstractEnvironment的子类 修饰符和类型 类 说明 class
StandardServletEnvironment
Environment
implementation to be used byServlet
-based web applications.