public class BoundConfigurationProperties
extends java.lang.Object
@ConfigurationProperties.| Constructor and Description |
|---|
BoundConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
static BoundConfigurationProperties |
get(org.springframework.context.ApplicationContext context)
Return the
BoundConfigurationProperties from the given
ApplicationContext if it is available. |
ConfigurationProperty |
get(ConfigurationPropertyName name)
Get the configuration property bound to the given name.
|
java.util.Map<ConfigurationPropertyName,ConfigurationProperty> |
getAll()
Get all bound properties.
|
public ConfigurationProperty get(ConfigurationPropertyName name)
name - the property namenullpublic java.util.Map<ConfigurationPropertyName,ConfigurationProperty> getAll()
public static BoundConfigurationProperties get(org.springframework.context.ApplicationContext context)
BoundConfigurationProperties from the given
ApplicationContext if it is available.context - the context to searchBoundConfigurationProperties or null