类的使用
org.springframework.boot.context.properties.ConfigurationPropertiesBean
-
org.springframework.boot.context.properties中ConfigurationPropertiesBean的使用
修饰符和类型方法说明static ConfigurationPropertiesBean
ConfigurationPropertiesBean.get
(ApplicationContext applicationContext, Object bean, String beanName) Return a@ConfigurationPropertiesBean
instance for the given bean details ornull
if the bean is not a@ConfigurationProperties
object.修饰符和类型方法说明static Map
<String, ConfigurationPropertiesBean> ConfigurationPropertiesBean.getAll
(ApplicationContext applicationContext) Return all@ConfigurationProperties
beans contained in the given application context.