org.openspaces.events.adapter
Class AnnotationEventListenerAdapter
java.lang.Object
  
org.openspaces.events.adapter.AbstractResultEventListenerAdapter
      
org.openspaces.events.adapter.AbstractReflectionEventListenerAdapter
          
org.openspaces.events.adapter.AnnotationEventListenerAdapter
- All Implemented Interfaces: 
 - EventListenerAdapter, SpaceDataEventListener, InitializingBean
 
public class AnnotationEventListenerAdapter
- extends AbstractReflectionEventListenerAdapter
 
An event listener adapter that uses SpaceDataEvent annotation in order to find event
 listener methods to delegate to.
- Author:
 
  - kimchy
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AnnotationEventListenerAdapter
public AnnotationEventListenerAdapter()
doGetListenerMethods
protected Method[] doGetListenerMethods()
- Goes over all the methods in the delegate and adds them as event listeners if they have
 
SpaceDataEvent annotation.
- Specified by:
 doGetListenerMethods in class AbstractReflectionEventListenerAdapter
 
- Returns:
 - A list of all the event listener delegate methods
 
 
 
Copyright © GigaSpaces.