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,
boolean overridesEquals) |
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, permissiveInitialization, prepareForPossibleLoadingOutsideTransaction, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSession
protected static final Object INVOKE_IMPLEMENTATION
protected final Class persistentClass
protected final Method getIdentifierMethod
protected final Method setIdentifierMethod
protected final boolean overridesEquals
protected final CompositeType componentIdType
protected BasicLazyInitializer(String entityName, Class persistentClass, Serializable id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SessionImplementor session, boolean overridesEquals)
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 © 2016 JBoss by Red Hat. All rights reserved.