Class ConstructorBound
java.lang.Object
org.springframework.boot.context.properties.ConstructorBound
Helper class to programmatically bind configuration properties that use constructor
injection.
- Since:
- 3.0.0
- Author:
- Stephane Nicoll
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
from
(BeanFactory beanFactory, String beanName, Class<?> beanType) Create an immutableConfigurationProperties
instance for the specifiedbeanName
andbeanType
using the specifiedBeanFactory
.
-
Constructor Details
-
ConstructorBound
public ConstructorBound()
-
-
Method Details
-
from
Create an immutableConfigurationProperties
instance for the specifiedbeanName
andbeanType
using the specifiedBeanFactory
.- Parameters:
beanFactory
- the bean factory to usebeanName
- the name of the beanbeanType
- the type of the bean- Returns:
- an instance from the specified bean
-