protected class EventListenerSupport.ProxyInvocationHandler extends Object implements InvocationHandler
Modifier | Constructor and Description |
---|---|
protected |
ProxyInvocationHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(Object unusedProxy,
Method method,
Object[] args)
Propagates the method call to all registered listeners in place of the proxy listener object.
|
protected ProxyInvocationHandler()
public Object invoke(Object unusedProxy, Method method, Object[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
invoke
in interface InvocationHandler
unusedProxy
- the proxy object representing a listener on which the invocation was called; not usedmethod
- the listener method that will be called on all of the listeners.args
- event arguments to propagate to the listeners.InvocationTargetException
- if an error occursIllegalArgumentException
- if an error occursIllegalAccessException
- if an error occursCopyright © 2001–2023 The Apache Software Foundation. All rights reserved.