类 ConfigurationBeanFactoryMetaData
- java.lang.Object
- org.springframework.boot.context.properties.ConfigurationBeanFactoryMetaData
- 所有已实现的接口:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
public class ConfigurationBeanFactoryMetaData extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
Utility class to memorize@Bean
definition meta data during initialization of the bean factory.- 从以下版本开始:
- 1.1.0
构造器概要
构造器 构造器 说明 ConfigurationBeanFactoryMetaData()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 <A extends Annotation>
AfindFactoryAnnotation(String beanName, Class<A> type)
<A extends Annotation>
Map<String,Object>getBeansWithFactoryAnnotation(Class<A> type)
void
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
构造器详细资料
ConfigurationBeanFactoryMetaData
public ConfigurationBeanFactoryMetaData()
方法详细资料
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
- 指定者:
postProcessBeanFactory
在接口中org.springframework.beans.factory.config.BeanFactoryPostProcessor
- 抛出:
org.springframework.beans.BeansException
getBeansWithFactoryAnnotation
public <A extends Annotation> Map<String,Object> getBeansWithFactoryAnnotation(Class<A> type)
findFactoryAnnotation
public <A extends Annotation> A findFactoryAnnotation(String beanName, Class<A> type)