类 ConstructorBound
java.lang.Object
org.springframework.boot.context.properties.ConstructorBound
Helper class to programmatically bind configuration properties that use constructor
injection.
- 从以下版本开始:
- 3.0.0
- 作者:
- Stephane Nicoll
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Object
from
(BeanFactory beanFactory, String beanName, Class<?> beanType) Create an immutableConfigurationProperties
instance for the specifiedbeanName
andbeanType
using the specifiedBeanFactory
.
-
构造器详细资料
-
ConstructorBound
public ConstructorBound()
-
-
方法详细资料
-
from
Create an immutableConfigurationProperties
instance for the specifiedbeanName
andbeanType
using the specifiedBeanFactory
.- 参数:
beanFactory
- the bean factory to usebeanName
- the name of the beanbeanType
- the type of the bean- 返回:
- an instance from the specified bean
-