GigaSpaces XAP 7.0 API

org.openspaces.events.notify.config
Class NotifyAnnotationPostProcessor

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

public class NotifyAnnotationPostProcessor
extends Object
implements BeanPostProcessor, ApplicationContextAware

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

Author:
kimchy

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

NotifyAnnotationPostProcessor

public NotifyAnnotationPostProcessor()
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.