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,
SessionImplementor session) |
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, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSession
protected static final java.lang.Object INVOKE_IMPLEMENTATION
protected java.lang.Class persistentClass
protected java.lang.reflect.Method getIdentifierMethod
protected java.lang.reflect.Method setIdentifierMethod
protected boolean overridesEquals
protected 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, SessionImplementor session)
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 © 2013. All Rights Reserved.