public abstract class AbstractReflectionDynamicEventTemplateProviderAdapter extends Object implements org.springframework.beans.factory.InitializingBean, DynamicEventTemplateProvider
setDelegate(Object).
  Subclasses must implement the doGetListenerMethod() in order to list the possible
 event listener method.
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.commons.logging.Log | loggerLogger available to subclasses | 
| Constructor and Description | 
|---|
| AbstractReflectionDynamicEventTemplateProviderAdapter() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| protected abstract Method | doGetListenerMethod()Subclasses should implement this in order to provide a list of all the possible event
 listener delegate methods. | 
| protected Object | getDelegate()Returns the event listener delegate. | 
| Object | getDynamicTemplate()Delegates the event listener invocation to the appropriate method of the configured  setDelegate(Object). | 
| boolean | isMethodFound() | 
| void | setDelegate(Object delegate)The event listener delegate that will be searched for event listening methods and will have
 its method executed. | 
| void | setFailSilentlyIfMethodNotFound(boolean failSilently) | 
| void | setUseFastReflection(boolean useFastReflection)Controls if the listener will be invoked using fast reflection or not. | 
protected final org.apache.commons.logging.Log logger
public AbstractReflectionDynamicEventTemplateProviderAdapter()
public void setDelegate(Object delegate)
protected Object getDelegate()
public void setUseFastReflection(boolean useFastReflection)
true.public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic Object getDynamicTemplate()
setDelegate(Object).getDynamicTemplate in interface DynamicEventTemplateProviderpublic void setFailSilentlyIfMethodNotFound(boolean failSilently)
failSilently - - when set to true afterPropertiesSet() will not raise an
                     exception if an annotated method is not found.public boolean isMethodFound()
protected abstract Method doGetListenerMethod()
Copyright © GigaSpaces.