List of usage examples for org.springframework.beans.factory.config BeanPostProcessor interface-usage
From source file cn.org.once.cstack.cli.processor.LoggerPostProcessor.java
@Component public class LoggerPostProcessor implements BeanPostProcessor { public Object postProcessBeforeInitialization(final Object bean, String beanName) throws BeansException { ReflectionUtils.doWithFields(bean.getClass(), new ReflectionUtils.FieldCallback() {
From source file org.broadleafcommerce.common.security.channel.ProtoChannelBeanPostProcessor.java
/**
* <p>This class is designed to work in both a load-balanced and non load-balanced environment by replacing the existing
* default Spring channel processors which do not work in a load balanced environment. Configuration should be done
* as follows in your applicationContext-security:</p>
*
* <b>Deploying to a load balanced environment with SSL termination at the load balancer as well as an environment
From source file fr.treeptik.cloudunit.cli.processor.LoggerPostProcessor.java
@Component public class LoggerPostProcessor implements BeanPostProcessor { public Object postProcessBeforeInitialization(final Object bean, String beanName) throws BeansException { ReflectionUtils.doWithFields(bean.getClass(), new ReflectionUtils.FieldCallback() {
From source file guru.qas.martini.annotation.StepsAnnotationProcessor.java
@Component @Lazy class StepsAnnotationProcessor implements BeanPostProcessor, ApplicationContextAware { private ApplicationContext context; private ImmutableList<ReflectionUtils.MethodCallback> callbacks;
From source file org.jboss.spring.cluster.CachePostProcessor.java
/** * Pojo cache / cluster post processor. * * @author <a href="mailto:ales.justin@jboss.com">Ales Justin</a> */ public class CachePostProcessor extends CacheLookup implements BeanFactoryPostProcessor, BeanPostProcessor {
From source file org.camunda.bpm.engine.spring.components.aop.ProcessStartAnnotationBeanPostProcessor.java
/**
* Proxies beans with methods annotated with {@link StartProcess}.
* If the method is invoked successfully, the process described by the annotaton is created.
* Parameters passed to the method annotated with {@link ProcessVariable}
* are passed to the business process.
*
From source file com.github.fharms.camel.entitymanager.CamelEntityManagerPostProcessor.java
/**
* Post processor for injecting fields with the camel entity manager proxy when
* annotated with {@link javax.persistence.PersistenceContext}
* <p>
* The requirement for annotated field is it a type of {@link EntityManager} otherwise it
* will throw an {@link IllegalStateException}.
From source file com.gradecak.alfresco.mvc.jackson.JacksonPostProcessor.java
public class JacksonPostProcessor implements BeanPostProcessor { public static final String DEFAULT_JSON_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss"; @Autowired private ServiceRegistry serviceRegistry;
From source file pl.com.bottega.ecommerce.system.infrastructure.events.impl.EventListenerBeanPostProcessor.java
/** * Registers spring beans methods as event handlers in spring event publisher * (if needed). */ @Component public class EventListenerBeanPostProcessor implements BeanPostProcessor, BeanFactoryAware {
From source file springfox.documentation.spring.web.ObjectMapperConfigurer.java
public class ObjectMapperConfigurer implements BeanPostProcessor, ApplicationEventPublisherAware { private ApplicationEventPublisher applicationEventPublisher; @Override public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {