public abstract class BasicLazyInitializer extends AbstractLazyInitializer
Modifier and Type | Field and Description |
---|---|
protected CompositeType |
componentIdType |
protected java.lang.reflect.Method |
getIdentifierMethod |
protected static java.lang.Object |
INVOKE_IMPLEMENTATION |
protected boolean |
overridesEquals |
protected java.lang.Class |
persistentClass |
protected java.lang.reflect.Method |
setIdentifierMethod |
Modifier | Constructor and Description |
---|---|
protected |
BasicLazyInitializer(java.lang.String entityName,
java.lang.Class persistentClass,
java.io.Serializable id,
java.lang.reflect.Method getIdentifierMethod,
java.lang.reflect.Method setIdentifierMethod,
CompositeType componentIdType,
SharedSessionContractImplementor session,
boolean overridesEquals) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getPersistentClass()
Get the actual class of the entity.
|
protected java.lang.Object |
invoke(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy) |
protected abstract java.lang.Object |
serializableProxy() |
getEntityName, getIdentifier, getImplementation, getImplementation, getSession, getTarget, initialize, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, permissiveInitialization, prepareForPossibleLoadingOutsideTransaction, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSession
protected static final java.lang.Object INVOKE_IMPLEMENTATION
protected final java.lang.Class persistentClass
protected final java.lang.reflect.Method getIdentifierMethod
protected final java.lang.reflect.Method setIdentifierMethod
protected final boolean overridesEquals
protected final CompositeType componentIdType
protected BasicLazyInitializer(java.lang.String entityName, java.lang.Class persistentClass, java.io.Serializable id, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals)
protected abstract java.lang.Object serializableProxy()
protected final java.lang.Object invoke(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
java.lang.Throwable
public final java.lang.Class getPersistentClass()
LazyInitializer
LazyInitializer.getEntityName()
should be used instead.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.