Package com.wavemaker.runtime.core.props
Class AbstractDynamicPropertySource
java.lang.Object
org.springframework.core.env.PropertySource
com.wavemaker.runtime.core.props.AbstractDynamicPropertySource
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.EnvironmentAware
public abstract class AbstractDynamicPropertySource
extends org.springframework.core.env.PropertySource
implements org.springframework.context.EnvironmentAware
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
org.springframework.core.env.PropertySource.StubPropertySource -
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
logger, name, source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPropertySource(org.springframework.core.env.ConfigurableEnvironment configurableEnvironment, org.springframework.core.env.PropertySource propertySource) Default implementation adds the dynamic property source as the first element in property sources list.voidsetEnvironment(org.springframework.core.env.Environment environment) Methods inherited from class org.springframework.core.env.PropertySource
containsProperty, equals, getName, getProperty, getSource, hashCode, named, toString
-
Constructor Details
-
AbstractDynamicPropertySource
protected AbstractDynamicPropertySource()
-
-
Method Details
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
addPropertySource
protected void addPropertySource(org.springframework.core.env.ConfigurableEnvironment configurableEnvironment, org.springframework.core.env.PropertySource propertySource) Default implementation adds the dynamic property source as the first element in property sources list. subclasses can override this method for more fine-grained control
-