| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private InvocationHandler | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addInvocationHandler(final Class<?> interf, final InvocationHandler handler)
Implements org. Add an invocation handler for all methods on interface interf. |
| public Object | invoke(Object proxy, Method method, Object[] args)
Implements java. Processes a method invocation on a proxy instance and returns the result. |
| public void | setDefaultHandler(InvocationHandler handler)
Implements org. Set the default invocation handler to use if none of the invocation handlers added by calls to addInvocationHandler apply. |
| classToInvocationHandler | back to summary |
|---|---|
| private Map<Class<?>, InvocationHandler> classToInvocationHandler | |
| defaultHandler | back to summary |
|---|---|
| private InvocationHandler defaultHandler | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CompositeInvocationHandlerImpl | back to summary |
|---|---|
| public CompositeInvocationHandlerImpl() | |
| addInvocationHandler | back to summary |
|---|---|
| public void addInvocationHandler(final Class<?> interf, final InvocationHandler handler) Implements org. Doc from org. Add an invocation handler for all methods on interface interf.
| |
| invoke | back to summary |
|---|---|
| public Object invoke(Object proxy, Method method, Object[] args) throws Throwable Implements java. Doc from java. Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
| |
| setDefaultHandler | back to summary |
|---|---|
| public void setDefaultHandler(InvocationHandler handler) Implements org. Doc from org. Set the default invocation handler to use if none of the invocation handlers added by calls to addInvocationHandler apply.
| |