public class LoggingProxy<T> extends Object implements InvocationHandler
Constructor and Description |
---|
LoggingProxy(T delegate) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getProxy(Class<T> interf,
T delegate)
The object returned by this method will implement all interfaces that are implemented by
delegate.
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |