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 org.excalibur.service.spring.config.DBIBeanFactoryPostprocessor.java

public class DBIBeanFactoryPostprocessor implements BeanFactoryPostProcessor {
    @Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
        int beanDefinitionCount = beanFactory.getBeanDefinitionCount();
        //        beanFactory.addBeanPostProcessor(new BeanPostProcessor()
        //        {

From source file org.springframework.beans.factory.config.PropertyResourceConfigurer.java

 /**
  * Allows for configuration of individual bean property values from a property resource,
  * i.e. a properties file. Useful for custom config files targetted at system
  * administrators that override bean properties configured in the application context.
  *
  * <p>2 concrete implementations are provided in the distribution:

From source file org.vaadin.spring.internal.VaadinSessionScope.java

/**
 * Implementation of Spring's {@link org.springframework.beans.factory.config.Scope} that binds the beans to the
 * current {@link com.vaadin.server.VaadinSession} (as opposed to the current Servlet session). Registered by default
 * as the scope "{@value #VAADIN_SESSION_SCOPE_NAME}".
 *
 * @author Petter Holmstrm (petter@vaadin.com)

From source file org.openmrs.contrib.metadatarepository.dao.spring.HibernateExtensionPostProcessor.java

/**
 * <p>Adds Hibernate persistent class definitions to an existing Spring Session Factory bean, possibly defined
 * within a seperate Spring configuration file in a seperate jar file. By using this extension factory developers can
 * add persistent classes to an AppFuse application without modifying any of the existing AppFuse Spring configuration
 * or jar distribution files.
 * 

From source file com.github.srgg.springmockito.MockitoPropagatingFactoryPostProcessor.java

/**
 * Performs registration of all Mocks & Spies declared within specified contexts to be used in Autowiring
 * and prevents original beans creation.
 */
public class MockitoPropagatingFactoryPostProcessor implements BeanFactoryPostProcessor {
    private final Object[] contexts;

From source file org.pegadi.webapp.spring.PropertyReplacer.java

/**
 * Created by IntelliJ IDEA.
 * User: bjorsnos
 * Date: Oct 30, 2005
 * Time: 9:42:21 PM
 * To change this template use File | Settings | File Templates.

From source file com.bt.aloha.spring.BeanFactoryPostProcessorBase.java

public abstract class BeanFactoryPostProcessorBase implements BeanFactoryPostProcessor {
    private Log log = LogFactory.getLog(this.getClass());

    protected void injectBeanIfDefined(ConfigurableListableBeanFactory beanFactory, String targetBeanName,
            String propertyName, Class<?> beanClassToInject) {
        String[] beanNamesForInjection = beanFactory.getBeanNamesForType(beanClassToInject);

From source file org.springframework.osgi.extender.internal.support.OsgiBeanFactoryPostProcessorAdapter.java

/**
 * Simple adapter for wrapping OsgiBeanPostProcessors to normal Spring post
 * processors.
 * 
 * @author Costin Leau
 * 

From source file com.agileapes.motorex.cli.value.impl.SpringValueReaderContext.java

/**
 * This value reader context is defined so that Spring integration can be performed without
 * any problems
 *
 * @author Mohammad Milad Naseri (m.m.naseri@gmail.com)
 * @since 1.0 (2012/12/8, 16:55)

From source file it.cosenonjaviste.alfresco.annotations.processors.runtime.AbstractPostProcessorConfigurer.java

/**
 * <tt>BeanFactoryPostProcessor</tt> for annotation processing during Spring context startup.
 *
 * <br>
 * Mostly taken from https://jira.spring.io/browse/SPR-6343 and https://github.com/janesser/spring-framework/blob/SPR-6343/spring-context/src/main/java/org/springframework/context/annotation/ChildOfConfigurer.java
 *