public class MethodEventListenerAdapter extends AbstractReflectionEventListenerAdapter
setMethodName(String)
that the event will be delegated to. The default method name is
handleEvent
.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LISTENER_METHOD_NAME
Default method name to delegate to:
handleEvent . |
logger
Constructor and Description |
---|
MethodEventListenerAdapter() |
Modifier and Type | Method and Description |
---|---|
protected Method[] |
doGetListenerMethods()
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, getActualEventListener, getDelegate, onEventWithResult, setDelegate, setUseFastReflection
handleResult, onEvent, setUpdateOrWrite, setUpdateTimeout, setWriteLease
public static final String DEFAULT_LISTENER_METHOD_NAME
handleEvent
.public void setMethodName(String methodName)
methodName
- The method name events will be delegated toprotected Method[] doGetListenerMethods()
setMethodName(String)
.doGetListenerMethods
in class AbstractReflectionEventListenerAdapter
Copyright © GigaSpaces.