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, invoke
getEntityName, getIdentifier, getImplementation, getImplementation, getSession, getTarget, initialize, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, permissiveInitialization, prepareForPossibleLoadingOutsideTransaction, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSession
public static HibernateProxy getProxy(String entityName, Class persistentClass, Class[] interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, Serializable id, SessionImplementor session) throws HibernateException
HibernateException
public 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
HibernateException
public static Class getProxyFactory(Class persistentClass, Class[] interfaces) throws HibernateException
HibernateException
public Object invoke(Object proxy, Method thisMethod, Method proceed, Object[] args) throws Throwable
invoke
in interface javassist.util.proxy.MethodHandler
Throwable
protected Object serializableProxy()
serializableProxy
in class BasicLazyInitializer
Copyright © 2018 JBoss by Red Hat. All rights reserved.