from

open fun from(beanFactory: BeanFactory, beanName: String, beanType: Class<out Any>): Any

Create an immutable ConfigurationProperties instance for the specified beanName and beanType using the specified BeanFactory.

Return

an instance from the specified bean

Parameters

beanFactory

the bean factory to use

beanName

the name of the bean

beanType

the type of the bean