public interface ProxyFactory
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createProxy(URI classLoaderKey,
Class<T> interfaze,
Method[] methods,
Class<? extends ProxyDispatcher> dispatcher,
boolean wrapped)
Creates a proxy.
|
<T> T createProxy(URI classLoaderKey, Class<T> interfaze, Method[] methods, Class<? extends ProxyDispatcher> dispatcher, boolean wrapped) throws ProxyException
classLoaderKey - the key of the classloader the proxy is to be created forinterfaze - the proxy interfacemethods - the sorted list of proxy methods. If multiple proxies are created for a classloader, method order must be the same as proxy
bytecode is cached.dispatcher - the dispatcher the proxy extendswrapped - true if parameters should be wrapped in an array as JDK proxy invocations areProxyException - if there is an error creating the proxyCopyright © 2007-2013 Metaform Systems.