org.apache.commons.lang3.event
protected class EventListenerSupport.ProxyInvocationHandler extends java.lang.Object implements java.lang.reflect.InvocationHandler
Modifier | Constructor and Description |
---|---|
protected |
EventListenerSupport.ProxyInvocationHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected EventListenerSupport.ProxyInvocationHandler()
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 occursCopyright © 2001-2014. All Rights Reserved.