public class CachingProxyFactory extends Object implements IProxyFactory
createClass(Class)IProxyFactory.Callback| Constructor and Description |
|---|
CachingProxyFactory(IProxyFactory factory) |
| 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.
|
void |
destroy(Object application) |
IProxyFactory.Callback |
getCallback(Object proxy)
Get the callback for the given proxy.
|
public CachingProxyFactory(IProxyFactory factory)
public Class<?> createClass(Class<?> clazz)
IProxyFactorycreateClass in interface IProxyFactoryclazz - class to proxypublic Object createInstance(Class<?> proxyClass, IProxyFactory.Callback callback)
IProxyFactorycreateInstance in interface IProxyFactoryproxyClass - class of proxycallback - callback for invocationspublic void destroy(Object application)
public IProxyFactory.Callback getCallback(Object proxy)
IProxyFactorygetCallback in interface IProxyFactoryproxy - proxynull if not a proxyCopyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.