hudson.util
Class InterceptingProxy
java.lang.Object
hudson.util.InterceptingProxy
public abstract class InterceptingProxy
- extends Object
Creates a proxy that traps every method call.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptingProxy
public InterceptingProxy()
call
protected abstract Object call(Object o,
Method m,
Object[] args)
throws Throwable
- Intercepts every method call.
- Throws:
Throwable
wrap
public final <T> T wrap(Class<T> type,
T object)
Copyright © 2004-2013. All Rights Reserved.