com.sonicsw.esb.service.common.util.spring
Class PatternBasedBeanDefinitionProcessor
java.lang.Object
com.sonicsw.esb.service.common.util.spring.PatternBasedBeanDefinitionProcessor
- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware
public class PatternBasedBeanDefinitionProcessor
- extends java.lang.Object
- implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware
Post-processor that finds XML bean definition resources matching a given
pattern and applies them to the current application context.
- See Also:
ResourcePatternResolver.getResources(String)
,
AbstractBeanDefinitionReader.loadBeanDefinitions(Resource[])
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternBasedBeanDefinitionProcessor
public PatternBasedBeanDefinitionProcessor()
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
- Specified by:
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
- Throws:
org.springframework.beans.BeansException
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
setPattern
public void setPattern(java.lang.String pattern)
Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.