List of usage examples for org.springframework.beans.factory.config BeanFactoryPostProcessor interface-usage
From source file com.vaadin.spring.internal.ViewScopeImpl.java
/**
* Implementation of Spring's
* {@link org.springframework.beans.factory.config.Scope} that binds the views
* and dependent beans to the visibility of the view, i.e. the scope is
* activated when a user navigates into a view and destroyed when the user
* navigates out of the view. Registered by default as the scope
From source file io.lavagna.common.QueryRepositoryScanner.java
public class QueryRepositoryScanner implements BeanFactoryPostProcessor { private final String[] packagesToScan; private final QueryFactory queryFactory; public QueryRepositoryScanner(QueryFactory queryFactory, String... packagesToScan) {
From source file org.jasig.portal.utils.cache.EhcacheManagerBeanConfigurer.java
/**
* Registers all of the Ehcache's from the {@link CacheManager} as bean's in the
* application context.
*
* @author Eric Dalquist
* @version $Revision$
From source file org.jacpfx.spring.processor.StatelessScopedPostProcessor.java
/** * This PostProcessr declares all beans with type AStatelessCallbackComponent to scope prototype * @author Andy Moncsek * */ public final class StatelessScopedPostProcessor implements BeanFactoryPostProcessor {
From source file org.excalibur.service.spring.config.AutowireCandidateResolverConfigurer.java
public class AutowireCandidateResolverConfigurer implements ApplicationContextAware, BeanFactoryPostProcessor { private ApplicationContext applicationContext_; @Override public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException { DefaultListableBeanFactory bf = (DefaultListableBeanFactory) beanFactory;
From source file org.zalando.spring.data.businesskey.config.BusinessKeyBeanFactoryPostProcessor.java
/** * @author jbellmann */ public class BusinessKeyBeanFactoryPostProcessor implements BeanFactoryPostProcessor { public static final String BEAN_CONFIGURER_ASPECT_BEAN_NAME = "org.springframework.context.config.internalBeanConfigurerAspect";
From source file org.pentaho.platform.engine.core.system.objfac.spring.PentahoBeanScopeValidatorPostProcessor.java
/**
* To maintain legacy compatibility, upon BeanFactory init we'll traverse through all beans in its containing
* factoryMap and for each that holds an empty scope definition we'll set it with a BeanDefinition.SCOPE_SINGLETON
* <p />
* Contextualization:
* <p />
From source file example.app.config.gemfire.GemFireDependsOnBeanFactoryPostProcessor.java
/**
* The GemFireDependsOnBeanFactoryPostProcessor class is a Spring {@link BeanFactoryPostProcessor} that adds
* dependencies to a GemFire cache bean defined in the Spring {@link org.springframework.context.ApplicationContext}.
*
* @author John Blum
* @see org.springframework.beans.factory.config.BeanFactoryPostProcessor
From source file org.apereo.portal.utils.cache.EhcacheManagerBeanConfigurer.java
/**
* Registers all of the Ehcache's from the {@link CacheManager} as bean's in the
* application context.
*
* @author Eric Dalquist
* @version $Revision$
From source file org.synyx.hades.domain.auditing.support.AuditingBeanFactoryPostProcessor.java
/**
* {@link BeanFactoryPostProcessor} to add a {@code depends-on} from a
* {@link org.springframework.orm.jpa.LocalEntityManagerFactoryBean} or
* {@link org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean}
* towards the aspect bean configured via
* {@code <context:spring-configured>}. This has to be done to ensure the