|
||||||||||
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 org.apache.commons.logging.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(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Generate BeanDefinitions and add them to factory for each Configuration bean. |
void |
setConfigurationListenerRegistry(ConfigurationListenerRegistry configurationListenerRegistry)
The listener registry used by this factory bean. |
void |
setNamingStrategy(BeanNamingStrategy namingStrategy)
BeanNamingStrategy used for generating the bean definitions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.commons.logging.Log log
Constructor Detail |
---|
public ConfigurationPostProcessor()
Method Detail |
---|
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 int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setConfigurationListenerRegistry(ConfigurationListenerRegistry configurationListenerRegistry)
DefaultConfigurationListenerRegistry
is used.
configurationListenerRegistry
- The configurationListenerRegistry to
set.public void setNamingStrategy(BeanNamingStrategy namingStrategy)
namingStrategy
- The namingStrategy to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |