public class ConfigurationBeanFactoryMetadata extends Object implements 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(ConfigurableListableBeanFactory beanFactory) |
public static final String BEAN_NAME
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException
postProcessBeanFactory
in interface BeanFactoryPostProcessor
BeansException
public <A extends Annotation> Map<String,Object> getBeansWithFactoryAnnotation(Class<A> type)
public <A extends Annotation> A findFactoryAnnotation(String beanName, Class<A> type)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.