class DelegatingInvocationHandler<T>
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Modifier and Type | Field and Description |
---|---|
private T |
delegate |
private boolean |
initialized |
Constructor and Description |
---|
DelegatingInvocationHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
(package private) void |
setDelegate(T delegate) |
private volatile boolean initialized
private T delegate
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
java.lang.Throwable
void setDelegate(T delegate)