spin.proxy
Class JDKProxyFactory
ProxyFactory
spin.proxy.JDKProxyFactory
public class JDKProxyFactory
extends ProxyFactory
A factory of proxies utilizing JDK virtual proxies.
protected boolean | areProxyEqual(Object proxy1, Object proxy2)
|
Object | createProxy(Object object, Evaluator evaluator) - The created proxy will not implement non-public interfaces from different
class loaders since these yield an
IllegalAccessError on
construction of a proxy.
|
boolean | isProxy(Object object)
|
areProxyEqual
protected boolean areProxyEqual(Object proxy1,
Object proxy2)
createProxy
public Object createProxy(Object object,
Evaluator evaluator)
The created proxy will not implement non-public interfaces from different
class loaders since these yield an IllegalAccessError
on
construction of a proxy.
isProxy
public boolean isProxy(Object object)