|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.lang3.event.EventListenerSupport.ProxyInvocationHandler
protected class EventListenerSupport.ProxyInvocationHandler
An invocation handler used to dispatch the event(s) to all the listeners.
Constructor Summary | |
---|---|
protected |
EventListenerSupport.ProxyInvocationHandler()
|
Method Summary | |
---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Propagates the method call to all registered listeners in place of the proxy listener object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected EventListenerSupport.ProxyInvocationHandler()
Method Detail |
---|
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
proxy
- the proxy object representing a listener on which the
invocation was called.method
- the listener method that will be called on all of the
listeners.args
- event arguments to propagate to the listeners.
java.lang.Throwable
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |