GigaSpaces XAP 9.0 API

org.openspaces.events.asyncpolling.config
Class AsyncPollingAnnotationPostProcessor

java.lang.Object
  extended by org.openspaces.events.asyncpolling.config.AsyncPollingAnnotationPostProcessor
All Implemented Interfaces:
Aware, BeanPostProcessor, ApplicationContextAware

public class AsyncPollingAnnotationPostProcessor
extends Object
implements BeanPostProcessor, ApplicationContextAware

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

Author:
kimchy

Constructor Summary
AsyncPollingAnnotationPostProcessor()
           
 
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

AsyncPollingAnnotationPostProcessor

public AsyncPollingAnnotationPostProcessor()
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 9.0 API

Copyright © GigaSpaces.