org.apache.tapestry.listener
Class ListenerMethodInvokerImpl
java.lang.Object
org.apache.tapestry.listener.ListenerMethodInvokerImpl
- All Implemented Interfaces:
- ListenerMethodInvoker
public class ListenerMethodInvokerImpl
- extends Object
- implements ListenerMethodInvoker
Logic for mapping a listener method name to an actual method invocation; this
may require a little searching to find the correct version of the method,
based on the number of parameters to the method (there's a lot of flexibility
in terms of what methods may be considered a listener method).
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListenerMethodInvokerImpl
public ListenerMethodInvokerImpl(String name,
Method[] methods)
invokeListenerMethod
public void invokeListenerMethod(Object target,
IRequestCycle cycle)
- Specified by:
invokeListenerMethod in interface ListenerMethodInvoker
invokeTargetMethod
protected Object invokeTargetMethod(Object target,
Method listenerMethod,
Object[] parameters)
throws IllegalAccessException,
InvocationTargetException
- Provided as a hook so that subclasses can perform any additional work
before or after invoking the listener method.
- Throws:
IllegalAccessException
InvocationTargetException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.