Package org.vaadin.spring.events.support
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpostProcessAfterInitialization(Object bean, String beanName) postProcessBeforeInitialization(Object bean, String beanName) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
VaadinEventBusAwareProcessor
public VaadinEventBusAwareProcessor()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - Specified by:
postProcessBeforeInitializationin interfaceorg.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:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-