public class MethodDynamicEventTemplateProviderAdapter extends AbstractReflectionDynamicEventTemplateProviderAdapter
setMethodName(String)
that the template request will be delegated to. The default method name
is getDynamicTemplate
.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LISTENER_METHOD_NAME
Default method name to delegate to:
handleEvent . |
logger
Constructor and Description |
---|
MethodDynamicEventTemplateProviderAdapter() |
Modifier and Type | Method and Description |
---|---|
protected Method |
doGetListenerMethod()
Returns a list of all the methods names that match the configured
setMethodName(String) . |
void |
setMethodName(String methodName)
Sets the method name the event listener adapter will delegate the events to.
|
afterPropertiesSet, getDelegate, getDynamicTemplate, isMethodFound, setDelegate, setFailSilentlyIfMethodNotFound, setUseFastReflection
public static final String DEFAULT_LISTENER_METHOD_NAME
handleEvent
.public MethodDynamicEventTemplateProviderAdapter()
public void setMethodName(String methodName)
methodName
- The method name events will be delegated toprotected Method doGetListenerMethod()
setMethodName(String)
.doGetListenerMethod
in class AbstractReflectionDynamicEventTemplateProviderAdapter
Copyright © GigaSpaces.