类 AbstractEnvironment

java.lang.Object
cn.taketoday.core.env.AbstractEnvironment
所有已实现的接口:
ConfigurableEnvironment, ConfigurablePropertyResolver, Environment, IterablePropertyResolver, PropertyResolver, Iterable<String>
直接已知子类:
StandardEnvironment

public abstract class AbstractEnvironment extends Object implements ConfigurableEnvironment, IterablePropertyResolver
Abstract base class for Environment implementations. Supports the notion of reserved default profile names and enables specifying active and default profiles through the Environment.KEY_ACTIVE_PROFILES and Environment.KEY_DEFAULT_PROFILES properties.

Concrete subclasses differ primarily on which PropertySource objects they add by default. AbstractEnvironment adds none. Subclasses should contribute property sources through the protected customizePropertySources(PropertySources) hook, while clients should customize using ConfigurableEnvironment.getPropertySources() and working against the PropertySources API. See ConfigurableEnvironment javadoc for usage examples.

从以下版本开始:
4.0
作者:
Chris Beams, Juergen Hoeller, Harry Yang
另请参阅: