public interface IProxyFactory
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IProxyFactory.Callback
Callback to a method invocation on a proxy.
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
createClass(Class<?> clazz)
Create a proxy class for the given class.
|
Object |
createInstance(Class<?> proxyClass,
IProxyFactory.Callback callback)
Create a proxy instance.
|
IProxyFactory.Callback |
getCallback(Object proxy)
Get the callback for the given proxy.
|
Class<?> createClass(Class<?> clazz)
clazz - class to proxyObject createInstance(Class<?> proxyClass, IProxyFactory.Callback callback)
proxyClazz - class of proxycallback - callback for invocationsIProxyFactory.Callback getCallback(Object proxy)
proxy - proxynull if not a proxyCopyright © 2015. All rights reserved.