public class JavassistLazyInitializer extends BasicLazyInitializer implements javassist.util.proxy.MethodHandler
componentIdType, getIdentifierMethod, INVOKE_IMPLEMENTATION, overridesEquals, persistentClass, setIdentifierMethod
Constructor and Description |
---|
JavassistLazyInitializer(String entityName,
Class persistentClass,
Class[] interfaces,
Serializable id,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType,
SharedSessionContractImplementor session,
boolean overridesEquals) |
Modifier and Type | Method and Description |
---|---|
protected void |
constructed() |
Object |
invoke(Object proxy,
Method thisMethod,
Method proceed,
Object[] args) |
protected Object |
serializableProxy() |
getPersistentClass, invoke
getEntityName, getIdentifier, getImplementation, getImplementation, getSession, getSessionFactoryUuid, getTarget, initialize, initializeWithoutLoadIfPossible, isAllowLoadOutsideTransaction, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, permissiveInitialization, prepareForPossibleLoadingOutsideTransaction, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSession
public JavassistLazyInitializer(String entityName, Class persistentClass, Class[] interfaces, Serializable id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals)
protected void constructed()
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 © 2020 JBoss by Red Hat. All rights reserved.