public class ClassLoaderAdapterCallback extends Object implements javassist.util.proxy.MethodHandler, ForgeProxy
| Constructor and Description |
|---|
ClassLoaderAdapterCallback(ClassLoader callingLoader,
ClassLoader delegateLoader,
Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
enhance(ClassLoader callingLoader,
ClassLoader delegateLoader,
Object delegate,
Class<?>... types) |
Object |
getDelegate()
Get the underlying delegate instance, if possible.
|
Object |
invoke(Object obj,
Method thisMethod,
Method proceed,
Object[] args) |
public ClassLoaderAdapterCallback(ClassLoader callingLoader, ClassLoader delegateLoader, Object delegate)
public Object invoke(Object obj, Method thisMethod, Method proceed, Object[] args) throws Throwable
invoke in interface javassist.util.proxy.MethodHandlerThrowablepublic static <T> T enhance(ClassLoader callingLoader, ClassLoader delegateLoader, Object delegate, Class<?>... types)
public Object getDelegate() throws Exception
ForgeProxygetDelegate in interface ForgeProxyExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.