org.hibernate.proxy.pojo.cglib
Class CGLIBLazyInitializer
java.lang.Object
org.hibernate.proxy.AbstractLazyInitializer
org.hibernate.proxy.pojo.BasicLazyInitializer
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer
- All Implemented Interfaces:
- net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.InvocationHandler, LazyInitializer
Deprecated. Per HHH-5451 support for cglib as a bytecode provider has been deprecated.
@Deprecated
public final class CGLIBLazyInitializer
- extends BasicLazyInitializer
- implements net.sf.cglib.proxy.InvocationHandler
A LazyInitializer implemented using the CGLIB bytecode generation library
Method Summary |
static HibernateProxy |
getProxy(java.lang.Class factory,
java.lang.String entityName,
java.lang.Class persistentClass,
java.lang.Class[] interfaces,
java.lang.reflect.Method getIdentifierMethod,
java.lang.reflect.Method setIdentifierMethod,
CompositeType componentIdType,
java.io.Serializable id,
SessionImplementor session)
Deprecated. |
static java.lang.Class |
getProxyFactory(java.lang.Class persistentClass,
java.lang.Class[] interfaces)
Deprecated. |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Deprecated. |
protected java.lang.Object |
serializableProxy()
Deprecated. |
Methods inherited from class org.hibernate.proxy.AbstractLazyInitializer |
getEntityName, getIdentifier, getImplementation, getImplementation, getSession, getTarget, initialize, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getProxy
public static HibernateProxy getProxy(java.lang.Class factory,
java.lang.String entityName,
java.lang.Class persistentClass,
java.lang.Class[] interfaces,
java.lang.reflect.Method getIdentifierMethod,
java.lang.reflect.Method setIdentifierMethod,
CompositeType componentIdType,
java.io.Serializable id,
SessionImplementor session)
throws HibernateException
- Deprecated.
- Throws:
HibernateException
getProxyFactory
public static java.lang.Class getProxyFactory(java.lang.Class persistentClass,
java.lang.Class[] interfaces)
throws HibernateException
- Deprecated.
- Throws:
HibernateException
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Deprecated.
- Specified by:
invoke
in interface net.sf.cglib.proxy.InvocationHandler
- Throws:
java.lang.Throwable
serializableProxy
protected java.lang.Object serializableProxy()
- Deprecated.
- Specified by:
serializableProxy
in class BasicLazyInitializer
Copyright © 2013. All Rights Reserved.