spring-framework / org.springframework.core.env / PropertySourcesPropertyResolver

PropertySourcesPropertyResolver

open class PropertySourcesPropertyResolver : AbstractPropertyResolver

PropertyResolver implementation that resolves property values against an underlying set of PropertySources.

Author
Chris Beams

Author
Juergen Hoeller

Since
3.1

See Also
PropertySourcePropertySourcesAbstractEnvironment

Constructors

<init>

PropertySourcesPropertyResolver(propertySources: PropertySources)

Create a new resolver against the given property sources.

Functions

containsProperty

open fun containsProperty(key: String): Boolean

getProperty

open fun getProperty(key: String): String
open fun <T : Any> getProperty(key: String, targetValueType: Class<T>): T