public class CGLibProxyFactory extends ProxyFactory
| Constructor and Description |
|---|
CGLibProxyFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
areProxyEqual(Object proxy1,
Object proxy2)
Test if the given proxies of this factory are intercepting the same
object.
|
Object |
createProxy(Object object,
Evaluator evaluator)
Create a proxy for the given object that evaluates invocations with the
given evaluator.
|
boolean |
isProxy(Object object)
Test if the given object is a proxy created by this factory.
|
evaluteInvocationpublic Object createProxy(Object object, Evaluator evaluator)
ProxyFactorycreateProxy in class ProxyFactoryobject - object to create proxy forevaluator - evaluator to evaluate invocations withpublic boolean isProxy(Object object)
ProxyFactoryisProxy in class ProxyFactoryobject - object to testtrue if given object is a Spin proxy,
false otherwiseprotected boolean areProxyEqual(Object proxy1, Object proxy2)
ProxyFactoryareProxyEqual in class ProxyFactoryproxy1 - first proxyproxy2 - second proxyCopyright © 2016. All rights reserved.