public class CompositeInvocationHandlerImpl extends java.lang.Object implements CompositeInvocationHandler
| Constructor and Description |
|---|
CompositeInvocationHandlerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInvocationHandler(java.lang.Class<?> interf,
java.lang.reflect.InvocationHandler handler)
Add an invocation handler for all methods on interface interf.
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
void |
setDefaultHandler(java.lang.reflect.InvocationHandler handler)
Set the default invocation handler to use if none of the
invocation handlers added by calls to addInvocationHandler apply.
|
public void addInvocationHandler(java.lang.Class<?> interf,
java.lang.reflect.InvocationHandler handler)
CompositeInvocationHandleraddInvocationHandler in interface CompositeInvocationHandlerpublic void setDefaultHandler(java.lang.reflect.InvocationHandler handler)
CompositeInvocationHandlersetDefaultHandler in interface CompositeInvocationHandlerpublic 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.InvocationHandlerjava.lang.Throwable