public class ListenerMethodInvokerImpl extends java.lang.Object implements ListenerMethodInvoker
Constructor and Description |
---|
ListenerMethodInvokerImpl(java.lang.String name,
java.lang.reflect.Method[] methods) |
Modifier and Type | Method and Description |
---|---|
void |
invokeListenerMethod(java.lang.Object target,
IRequestCycle cycle) |
protected java.lang.Object |
invokeTargetMethod(java.lang.Object target,
java.lang.reflect.Method listenerMethod,
java.lang.Object[] parameters)
Provided as a hook so that subclasses can perform any additional work before or after
invoking the listener method.
|
public ListenerMethodInvokerImpl(java.lang.String name, java.lang.reflect.Method[] methods)
public void invokeListenerMethod(java.lang.Object target, IRequestCycle cycle)
invokeListenerMethod
in interface ListenerMethodInvoker
protected java.lang.Object invokeTargetMethod(java.lang.Object target, java.lang.reflect.Method listenerMethod, java.lang.Object[] parameters) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException