org.springframework.datastore.proxy
Class JavassistProxyFactory
java.lang.Object
org.springframework.datastore.proxy.JavassistProxyFactory
- All Implemented Interfaces:
- ProxyFactory
public class JavassistProxyFactory
- extends Object
- implements ProxyFactory
A proxy factory that uses Javassist to create proxies
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavassistProxyFactory
public JavassistProxyFactory()
createProxy
public <T> T createProxy(Session session,
Class<T> type,
Serializable key)
- Specified by:
createProxy
in interface ProxyFactory
createProxiedInstance
protected Object createProxiedInstance(Session session,
Class cls,
Class proxyClass,
Serializable id)
getProxyInstance
protected Object getProxyInstance(Session session,
Class type,
Serializable id)
getProxyClass
protected Class getProxyClass(Class type)