Package com.google.inject.internal
Class DelegatingInvocationHandler<T>
- java.lang.Object
-
- com.google.inject.internal.DelegatingInvocationHandler<T>
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
class DelegatingInvocationHandler<T> extends java.lang.Object implements java.lang.reflect.InvocationHandler
-
-
Field Summary
Fields Modifier and Type Field Description private T
delegate
private boolean
initialized
-
Constructor Summary
Constructors Constructor Description DelegatingInvocationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
(package private) void
setDelegate(T delegate)
-
-
-
Field Detail
-
initialized
private volatile boolean initialized
-
delegate
private T delegate
-
-
Method Detail
-
invoke
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
- Specified by:
invoke
in interfacejava.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
-
setDelegate
void setDelegate(T delegate)
-
-