public class ClassLoaderInjectorInvocationHandler extends Object implements InvocationHandler
| Constructor and Description |
|---|
ClassLoaderInjectorInvocationHandler(Object delegate,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
createProxy(Object delegate,
ClassLoader classLoader,
Class<?>[] interfaces)
Creates a dynamic proxy for a given object.
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public ClassLoaderInjectorInvocationHandler(Object delegate, ClassLoader classLoader)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic static Object createProxy(Object delegate, ClassLoader classLoader, Class<?>[] interfaces)
delegate - object to be proxied. Not null.classLoader - classloader that has to be used when accessing the delegate. Not null.interfaces - interfaces to be implemented in the dynamic proxy. Not null.Copyright © 2006–2022 MuleSoft, Inc.. All rights reserved.