org.hibernate.proxy.pojo.cglib
Class CGLIBLazyInitializer
- InvocationHandler, LazyInitializer
public final class CGLIBLazyInitializer
implements InvocationHandler
A LazyInitializer implemented using the CGLIB bytecode generation library
static HibernateProxy | getProxy(Class factory, String entityName, Class persistentClass, Class[] interfaces, Method getIdentifierMethod, Method setIdentifierMethod, AbstractComponentType componentIdType, Serializable id, SessionImplementor session)
|
static Class | getProxyFactory(Class persistentClass, Class[] interfaces)
|
Object | invoke(Object proxy, Method method, Object[] args)
|
protected Object | serializableProxy()
|
getEntityName , getIdentifier , getImplementation , getImplementation , getSession , getTarget , initialize , isConnectedToSession , isUninitialized , isUnwrap , setIdentifier , setImplementation , setSession , setUnwrap |
getProxyFactory
public static Class getProxyFactory(Class persistentClass,
Class[] interfaces)
throws HibernateException
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable