org.openspaces.events.adapter
Class AnnotationDynamicEventTemplateProviderAdapter
java.lang.Object
org.openspaces.events.adapter.AbstractReflectionDynamicEventTemplateProviderAdapter
org.openspaces.events.adapter.AnnotationDynamicEventTemplateProviderAdapter
- All Implemented Interfaces:
- DynamicEventTemplateProvider, InitializingBean
public class AnnotationDynamicEventTemplateProviderAdapter
- extends AbstractReflectionDynamicEventTemplateProviderAdapter
The annotation event template provider adapter uses DynamicEventTemplate
annotation in order to find the
event template provider to delegate to.
- Since:
- 9.1.1
- Author:
- Itai Frenkel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationDynamicEventTemplateProviderAdapter
public AnnotationDynamicEventTemplateProviderAdapter()
doGetListenerMethod
protected Method doGetListenerMethod()
- Goes over all the methods in the delegate and adds them as event listeners if they have
DynamicEventTemplate
annotation.
- Specified by:
doGetListenerMethod
in class AbstractReflectionDynamicEventTemplateProviderAdapter
- Returns:
- A list of all the event listener delegate methods
Copyright © GigaSpaces.