public class ClassLoaderInterceptor extends Object implements ForgeProxy
| Constructor and Description |
|---|
ClassLoaderInterceptor(ClassLoader loader,
Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
static ClassLoader |
getCurrentloader() |
Object |
getDelegate()
Get the underlying delegate instance, if possible.
|
Object |
getHandler()
Get the underlying proxy handler instance, if possible.
|
Object |
invoke(Object self,
Method thisMethod,
Method proceed,
Object[] args) |
public ClassLoaderInterceptor(ClassLoader loader, Object delegate)
public Object invoke(Object self, Method thisMethod, Method proceed, Object[] args) throws Throwable
invoke in interface org.jboss.forge.furnace.proxy.javassist.util.proxy.MethodHandlerThrowablepublic static ClassLoader getCurrentloader()
public Object getDelegate() throws Exception
ForgeProxygetDelegate in interface ForgeProxyExceptionpublic Object getHandler() throws Exception
ForgeProxygetHandler in interface ForgeProxyExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.