接口的使用
org.springframework.core.env.ConfigurablePropertyResolver
使用ConfigurablePropertyResolver的程序包 程序包 说明 org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.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 Contains a variant of the application context interface for web applications, and the ContextLoaderListener that bootstraps a root web application context.org.springframework.web.context.support Classes supporting theorg.springframework.web.context
package, such as WebApplicationContext implementations and various utility classes.org.springframework.context.support中ConfigurablePropertyResolver的使用
参数类型为ConfigurablePropertyResolver的org.springframework.context.support中的方法 修饰符和类型 方法 说明 protected void
PropertySourcesPlaceholderConfigurer. processProperties(ConfigurableListableBeanFactory beanFactoryToProcess, ConfigurablePropertyResolver propertyResolver)
Visit each bean definition in the given bean factory and attempt to replace ${...} property placeholders with values from the given properties.org.springframework.core.env中ConfigurablePropertyResolver的使用
org.springframework.core.env中ConfigurablePropertyResolver的子接口 修饰符和类型 接口 说明 interface
ConfigurableEnvironment
Configuration interface to be implemented by most if not allEnvironment
types.实现ConfigurablePropertyResolver的org.springframework.core.env中的类 修饰符和类型 类 说明 class
AbstractEnvironment
Abstract base class forEnvironment
implementations.class
AbstractPropertyResolver
Abstract base class for resolving properties against any underlying source.class
PropertySourcesPropertyResolver
PropertyResolver
implementation that resolves property values against an underlying set ofPropertySources
.class
StandardEnvironment
Environment
implementation suitable for use in 'standard' (i.e. non-web) applications.org.springframework.mock.env中ConfigurablePropertyResolver的使用
实现ConfigurablePropertyResolver的org.springframework.mock.env中的类 修饰符和类型 类 说明 class
MockEnvironment
SimpleConfigurableEnvironment
implementation exposingMockEnvironment.setProperty(String, String)
andMockEnvironment.withProperty(String, String)
methods for testing purposes.org.springframework.web.context中ConfigurablePropertyResolver的使用
org.springframework.web.context中ConfigurablePropertyResolver的子接口 修饰符和类型 接口 说明 interface
ConfigurableWebEnvironment
Specialization ofConfigurableEnvironment
allowing initialization of servlet-relatedPropertySource
objects at the earliest moment that theServletContext
and (optionally)ServletConfig
become available.org.springframework.web.context.support中ConfigurablePropertyResolver的使用
实现ConfigurablePropertyResolver的org.springframework.web.context.support中的类 修饰符和类型 类 说明 class
StandardServletEnvironment
Environment
implementation to be used byServlet
-based web applications.