public class JavassistLazyInitializer extends BasicLazyInitializer implements javassist.util.proxy.MethodHandler
componentIdType, getIdentifierMethod, INVOKE_IMPLEMENTATION, overridesEquals, persistentClass, setIdentifierMethod| Modifier and Type | Method and Description |
|---|---|
static HibernateProxy |
getProxy(Class factory,
String entityName,
Class persistentClass,
Class[] interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType,
Serializable id,
SessionImplementor session,
boolean classOverridesEquals) |
static HibernateProxy |
getProxy(String entityName,
Class persistentClass,
Class[] interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType,
Serializable id,
SessionImplementor session) |
static Class |
getProxyFactory(Class persistentClass,
Class[] interfaces) |
Object |
invoke(Object proxy,
Method thisMethod,
Method proceed,
Object[] args) |
protected Object |
serializableProxy() |
getPersistentClass, invokegetEntityName, getIdentifier, getImplementation, getImplementation, getSession, getTarget, initialize, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, permissiveInitialization, prepareForPossibleLoadingOutsideTransaction, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSessionpublic static HibernateProxy getProxy(String entityName, Class persistentClass, Class[] interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, Serializable id, SessionImplementor session) throws HibernateException
HibernateExceptionpublic static HibernateProxy getProxy(Class factory, String entityName, Class persistentClass, Class[] interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, Serializable id, SessionImplementor session, boolean classOverridesEquals) throws HibernateException
HibernateExceptionpublic static Class getProxyFactory(Class persistentClass, Class[] interfaces) throws HibernateException
HibernateExceptionpublic Object invoke(Object proxy, Method thisMethod, Method proceed, Object[] args) throws Throwable
invoke in interface javassist.util.proxy.MethodHandlerThrowableprotected Object serializableProxy()
serializableProxy in class BasicLazyInitializerCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.