GigaSpaces XAP 7.0 API

org.openspaces.events.polling.config
Class PollingAnnotationPostProcessor

java.lang.Object
  extended by org.openspaces.events.polling.config.PollingAnnotationPostProcessor
All Implemented Interfaces:
BeanPostProcessor, ApplicationContextAware

public class PollingAnnotationPostProcessor
extends Object
implements BeanPostProcessor, ApplicationContextAware

A Polling annotation post processor. Creates an internal instance of SimplePollingEventListenerContainer that wraps the given bean (if annotated) listener.

Author:
kimchy

Constructor Summary
PollingAnnotationPostProcessor()
           
 
Method Summary
 Object postProcessAfterInitialization(Object bean, String beanName)
           
 Object postProcessBeforeInitialization(Object bean, String beanName)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollingAnnotationPostProcessor

public PollingAnnotationPostProcessor()
Method Detail

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
                           throws BeansException
Specified by:
setApplicationContext in interface ApplicationContextAware
Throws:
BeansException

postProcessBeforeInitialization

public Object postProcessBeforeInitialization(Object bean,
                                              String beanName)
                                       throws BeansException
Specified by:
postProcessBeforeInitialization in interface BeanPostProcessor
Throws:
BeansException

postProcessAfterInitialization

public Object postProcessAfterInitialization(Object bean,
                                             String beanName)
                                      throws BeansException
Specified by:
postProcessAfterInitialization in interface BeanPostProcessor
Throws:
BeansException

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.