|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.config.java.process.ConfigurationPostProcessor
public class ConfigurationPostProcessor
Post processor for use in a bean factory that can process multiple configuration beans. See the ConfigurationProcessor class's documentation for the semantics of a Configuration bean.
In the BeanFactoryPostProcessor implementation, this class adds factory bean definitions for every Configuration bean found in the bean factory. It also creates a child factory containing pointcuts and advisors required to interpret Pointcut attributes.
ConfigurationProcessor
,
Bean
,
Configuration
Field Summary | |
---|---|
protected Log |
log
|
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
ConfigurationPostProcessor()
|
Method Summary | |
---|---|
int |
getOrder()
Guarantee to execute before any other BeanFactoryPostProcessors |
void |
postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
Generate BeanDefinitions and add them to factory for each Configuration bean. |
void |
setApplicationContext(ApplicationContext ac)
|
void |
setConfigurationListenerRegistry(org.springframework.config.java.process.ConfigurationListenerRegistry configurationListenerRegistry)
The listener registry used by this factory bean. |
void |
setNamingStrategy(BeanNamingStrategy namingStrategy)
BeanNamingStrategy used for generating the bean definitions. |
void |
setResourceLoader(ResourceLoader resourceLoader)
Optional implementation of ResourceLoaderAware |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Log log
Constructor Detail |
---|
public ConfigurationPostProcessor()
Method Detail |
---|
public int getOrder()
getOrder
in interface Ordered
public void setConfigurationListenerRegistry(org.springframework.config.java.process.ConfigurationListenerRegistry configurationListenerRegistry)
DefaultConfigurationListenerRegistry
is used.
configurationListenerRegistry
- The configurationListenerRegistry to
set.public void setNamingStrategy(BeanNamingStrategy namingStrategy)
namingStrategy
- The namingStrategy to set.public void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader
in interface ResourceLoaderAware
public void setApplicationContext(ApplicationContext ac) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException
postProcessBeanFactory
in interface BeanFactoryPostProcessor
BeansException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |