类 BasicLazyInitializer
- java.lang.Object
-
- org.hibernate.proxy.AbstractLazyInitializer
-
- org.hibernate.proxy.pojo.BasicLazyInitializer
-
- 所有已实现的接口:
LazyInitializer
public abstract class BasicLazyInitializer extends AbstractLazyInitializer
Lazy initializer for POJOs- 作者:
- Gavin King
-
-
字段概要
字段 修饰符和类型 字段 说明 protected CompositeTypecomponentIdTypeprotected MethodgetIdentifierMethodprotected static ObjectINVOKE_IMPLEMENTATIONprotected booleanoverridesEqualsprotected ClasspersistentClassprotected MethodsetIdentifierMethod
-
构造器概要
构造器 限定符 构造器 说明 protectedBasicLazyInitializer(String entityName, Class persistentClass, Serializable id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals)
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 ClassgetPersistentClass()Get the actual class of the entity.protected Objectinvoke(Method method, Object[] args, Object proxy)protected abstract ObjectserializableProxy()-
从类继承的方法 org.hibernate.proxy.AbstractLazyInitializer
getEntityName, getIdentifier, getImplementation, getImplementation, getSession, getSessionFactoryUuid, getTarget, initialize, initializeWithoutLoadIfPossible, isAllowLoadOutsideTransaction, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, permissiveInitialization, prepareForPossibleLoadingOutsideTransaction, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSession
-
-
-
-
字段详细资料
-
INVOKE_IMPLEMENTATION
protected static final Object INVOKE_IMPLEMENTATION
-
persistentClass
protected final Class persistentClass
-
getIdentifierMethod
protected final Method getIdentifierMethod
-
setIdentifierMethod
protected final Method setIdentifierMethod
-
overridesEquals
protected final boolean overridesEquals
-
componentIdType
protected final CompositeType componentIdType
-
-
构造器详细资料
-
BasicLazyInitializer
protected BasicLazyInitializer(String entityName, Class persistentClass, Serializable id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals)
-
-
方法详细资料
-
serializableProxy
protected abstract Object serializableProxy()
-
invoke
protected final Object invoke(Method method, Object[] args, Object proxy) throws Throwable
- 抛出:
Throwable
-
getPersistentClass
public final Class getPersistentClass()
从接口复制的说明:LazyInitializerGet the actual class of the entity. Generally,LazyInitializer.getEntityName()should be used instead.- 返回:
- The actual entity class.
-
-