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