Example usage for org.springframework.beans.factory.config BeanFactoryPostProcessor interface-usage

List of usage examples for org.springframework.beans.factory.config BeanFactoryPostProcessor interface-usage

Introduction

In this page you can find the example usage for org.springframework.beans.factory.config BeanFactoryPostProcessor interface-usage.

Usage

From source file net.tirasa.blog.ilgrosso.dynamicspringtransactional.TransactionInterceptorReplacer.java

public class TransactionInterceptorReplacer implements BeanFactoryPostProcessor {

    @Override
    public void postProcessBeanFactory(final ConfigurableListableBeanFactory factory) throws BeansException {

        String[] names = factory.getBeanNamesForType(TransactionInterceptor.class);

From source file edu.duke.cabig.c3pr.utils.web.spring.BeanNameControllerUrlResolver.java

/**
 * @author Rhett Sutphin
 */
/* TODO: much of this class is shared with PSC. Refactor into a shared library. */
public class BeanNameControllerUrlResolver implements ControllerUrlResolver, BeanFactoryPostProcessor, Ordered {
    private Log log = LogFactory.getLog(getClass());

From source file com.fengduo.bee.commons.core.SpringContextAware.java

/**
 * @author zxc May 28, 2015 5:24:45 PM
 */
@Component
public class SpringContextAware implements ApplicationContextAware, BeanFactoryPostProcessor {

From source file org.jdal.aop.DeclareMixinAutoProxyCreatorConfigurer.java

/**
 * Register the AspectJ AutoProxyCreator with DeclareMixin Support.
 * 
 * @author Jose Luis Martin
 * @since 2.0
 *

From source file com.joel1di1.spring.jndi.initializer.JndIInitializerWithPriority.java

public class JndIInitializerWithPriority extends JndiInitializer
        implements BeanFactoryPostProcessor, PriorityOrdered {

    @Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
        try {

From source file com.fengduo.spark.commons.core.SpringContextAware.java

/**
 * @author zxc May 28, 2015 5:24:45 PM
 */
@Component
@Lazy(false)
public class SpringContextAware implements ApplicationContextAware, BeanFactoryPostProcessor {

From source file org.openmrs.contrib.metadatarepository.webapp.spring.ValidatorExtensionPostProcessor.java

/**
 * <p>Adds commons validator configuration files to an existing Spring commons Validator Factory bean, possibly defined
 * within a seperate Spring configuration file in a seperate jar file. By using this extension factory developers can
 * add validation configuration for their own persistent classes to an AppFuse application without modifying any of the
 * existing AppFuse Spring configuration or jar distribution files.
    

From source file org.jdal.mock.MockReplacer.java

/**
 * Replace singletons in configurableListableBeanFactory  
 * with mocks
 * 
 * @author Jose Luis Martin
 */

From source file com.fitbur.testify.di.spring.SpringServicePostProcessor.java

/**
 * A bean factory post processor that insures all Spring beans are lazy loaded.
 *
 * @author saden
 */
public class SpringServicePostProcessor implements BeanFactoryPostProcessor {

From source file com.apporiented.spring.override.PropertyOverrideProcessor.java

/**
 * BeanFactoryPostProcessor that overrides properties of a bean that has been
 * defined elsewhere. You can use this class to customize beans defined by 
 * Riot modules without having to overwrite them completely. 
 * 
 * @author Felix Gnass [fgnass at neteye dot de]