Package org.hibernate.proxy.pojo
Class BasicLazyInitializer
java.lang.Object
org.hibernate.proxy.AbstractLazyInitializer
org.hibernate.proxy.pojo.BasicLazyInitializer
- All Implemented Interfaces:
LazyInitializer
- Direct Known Subclasses:
ByteBuddyInterceptor
Lazy initializer for plain Java objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CompositeTypeprotected final Methodprotected static final Objectprotected final booleanprotected final Class<?> protected final Method -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBasicLazyInitializer(String entityName, Class<?> persistentClass, Object id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals) -
Method Summary
Methods inherited from class org.hibernate.proxy.AbstractLazyInitializer
getEntityName, getIdentifier, getImplementation, getImplementation, getImplementationEntityName, getInternalIdentifier, getSession, getSessionFactoryName, getSessionFactoryUuid, getTarget, initialize, initializeWithoutLoadIfPossible, isAllowLoadOutsideTransaction, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, permissiveInitialization, prepareForPossibleLoadingOutsideTransaction, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSession
-
Field Details
-
INVOKE_IMPLEMENTATION
-
persistentClass
-
getIdentifierMethod
-
setIdentifierMethod
-
overridesEquals
protected final boolean overridesEquals -
componentIdType
-
-
Constructor Details
-
Method Details
-
serializableProxy
-
invoke
- Throws:
Throwable
-
getPersistentClass
Description copied from interface:LazyInitializerGet the actual class of the entity. Generally,LazyInitializer.getEntityName()should be used instead.- Returns:
- The actual entity class.
-
getImplementationClass
Description copied from interface:LazyInitializerGet the actual class of the entity, possibly initializing the entity if it has subclasses.- Returns:
- The actual entity class.
-