get

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. Annotations are considered both on the bean itself, as well as any factory method (for example a @Bean method).

Return

a configuration properties bean or null if the neither the bean norfactory method are annotated with @ConfigurationProperties

Parameters

applicationContext

the source application context

bean

the bean to consider

beanName

the bean name