Class VaadinEventBusAwareProcessor

java.lang.Object
org.vaadin.spring.events.support.VaadinEventBusAwareProcessor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware

public class VaadinEventBusAwareProcessor extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.config.BeanPostProcessor
BeanPostProcessor implementation that passes the corresponding EventBus to beans that implement the one of the EventBusAware interfaces
Author:
Gert-Jan Timmer (gjr.timmer@gmail.com), Petter Holmström (petter@vaadin.com)
  • Constructor Details

    • VaadinEventBusAwareProcessor

      public VaadinEventBusAwareProcessor()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • postProcessBeforeInitialization

      public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException
    • postProcessAfterInitialization

      public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException