public class ClassLoaderAdapterCallback extends Object implements org.jboss.forge.furnace.proxy.javassist.util.proxy.MethodHandler, ForgeProxy
| Constructor and Description |
|---|
ClassLoaderAdapterCallback(Callable<Set<ClassLoader>> whitelist,
ClassLoader callingLoader,
ClassLoader delegateLoader,
Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDelegate()
Get the underlying delegate instance, if possible.
|
ClassLoader |
getDelegateLoader() |
Object |
getHandler()
Get the underlying proxy handler instance, if possible.
|
ClassLoader |
getInitialCallingLoader() |
Object |
invoke(Object obj,
Method thisMethod,
Method proceed,
Object[] args) |
public ClassLoaderAdapterCallback(Callable<Set<ClassLoader>> whitelist, ClassLoader callingLoader, ClassLoader delegateLoader, Object delegate)
public Object invoke(Object obj, Method thisMethod, Method proceed, Object[] args) throws Throwable
invoke in interface org.jboss.forge.furnace.proxy.javassist.util.proxy.MethodHandlerThrowablepublic Object getDelegate() throws Exception
ForgeProxygetDelegate in interface ForgeProxyExceptionpublic Object getHandler() throws Exception
ForgeProxygetHandler in interface ForgeProxyExceptionpublic ClassLoader getDelegateLoader()
public ClassLoader getInitialCallingLoader()
Copyright © 2014 JBoss by Red Hat. All rights reserved.