Package 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
public final class CGLIBLazyInitializer
extends BasicLazyInitializer
implements net.sf.cglib.proxy.InvocationHandler
Deprecated.
Per HHH-5451 support for cglib as a bytecode provider has been deprecated.
A LazyInitializer implemented using the CGLIB bytecode generation library
-
Field Summary
Fields inherited from class org.hibernate.proxy.pojo.BasicLazyInitializer
componentIdType, getIdentifierMethod, INVOKE_IMPLEMENTATION, overridesEquals, persistentClass, setIdentifierMethod -
Method Summary
Modifier and TypeMethodDescriptionstatic HibernateProxygetProxy(Class factory, String entityName, Class persistentClass, Class[] interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, Serializable id, SessionImplementor session) Deprecated.static ClassgetProxyFactory(Class persistentClass, Class[] interfaces) Deprecated.Deprecated.protected ObjectDeprecated.Methods inherited from class org.hibernate.proxy.pojo.BasicLazyInitializer
getPersistentClass, invokeMethods 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
-
Method Details
-
getProxy
public static HibernateProxy getProxy(Class factory, String entityName, Class persistentClass, Class[] interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, Serializable id, SessionImplementor session) throws HibernateException Deprecated.- Throws:
HibernateException
-
getProxyFactory
public static Class getProxyFactory(Class persistentClass, Class[] interfaces) throws HibernateException Deprecated.- Throws:
HibernateException
-
invoke
Deprecated.- Specified by:
invokein interfacenet.sf.cglib.proxy.InvocationHandler- Throws:
Throwable
-
serializableProxy
Deprecated.- Specified by:
serializableProxyin classBasicLazyInitializer
-