ConfigurationPropertiesBean
Provides access to @ConfigurationProperties bean details, regardless of if the annotation was used directly or on a @Bean factory method. This class can be used to access all configuration properties beans in an ApplicationContext, or individual beans on a case-by-case basis (for example, in a BeanPostProcessor).
Author
Phillip Webb
Since
2.2.0
See also
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open fun get(applicationContext: ApplicationContext, bean: Any, beanName: String): ConfigurationPropertiesBean
Return a @ConfigurationPropertiesBean instance for the given bean details or
null
if the bean is not a @ConfigurationProperties object.Link copied to clipboard
Return all @ConfigurationProperties beans contained in the given application context.
Link copied to clipboard
Return the ConfigurationProperties annotation for the bean.