Class AnnotationDynamicEventTemplateProviderAdapter
java.lang.Object
org.openspaces.events.adapter.AbstractReflectionDynamicEventTemplateProviderAdapter
org.openspaces.events.adapter.AnnotationDynamicEventTemplateProviderAdapter
- All Implemented Interfaces:
DynamicEventTemplateProvider, org.springframework.beans.factory.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
-
Field Summary
Fields inherited from class AbstractReflectionDynamicEventTemplateProviderAdapter
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodGoes over all the methods in the delegate and adds them as event listeners if they haveDynamicEventTemplateannotation.
-
Constructor Details
-
AnnotationDynamicEventTemplateProviderAdapter
public AnnotationDynamicEventTemplateProviderAdapter()
-
-
Method Details
-
doGetListenerMethod
Goes over all the methods in the delegate and adds them as event listeners if they haveDynamicEventTemplateannotation.- Specified by:
doGetListenerMethodin classAbstractReflectionDynamicEventTemplateProviderAdapter- Returns:
- A list of all the event listener delegate methods
-