Sonic ESB API

com.sonicsw.esb.service.common.util.spring
Class PatternBasedBeanDefinitionProcessor

java.lang.Object
  extended by 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[])

Constructor Summary
PatternBasedBeanDefinitionProcessor()
           
 
Method Summary
 void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
           
 void setApplicationContext(org.springframework.context.ApplicationContext context)
           
 void setPattern(java.lang.String pattern)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternBasedBeanDefinitionProcessor

public PatternBasedBeanDefinitionProcessor()
Method Detail

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)

Sonic ESB API

Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.