public class ConfigurationBeanFactoryMetadata extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
@Bean
definition meta data during initialization of
the bean factory.Modifier and Type | Field and Description |
---|---|
static String |
BEAN_NAME
The bean name that this class is registered with.
|
Constructor and Description |
---|
ConfigurationBeanFactoryMetadata() |
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
findFactoryAnnotation(String beanName,
Class<A> type) |
Method |
findFactoryMethod(String beanName) |
<A extends Annotation> |
getBeansWithFactoryAnnotation(Class<A> type) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
public static final String BEAN_NAME
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
public <A extends Annotation> Map<String,Object> getBeansWithFactoryAnnotation(Class<A> type)
public <A extends Annotation> A findFactoryAnnotation(String beanName, Class<A> type)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.