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