org.hibernate.proxy.pojo
Class BasicLazyInitializer
java.lang.Object
org.hibernate.proxy.AbstractLazyInitializer
org.hibernate.proxy.pojo.BasicLazyInitializer
- All Implemented Interfaces:
- LazyInitializer
- Direct Known Subclasses:
- JavassistLazyInitializer
public abstract class BasicLazyInitializer
- extends AbstractLazyInitializer
Lazy initializer for POJOs
Methods inherited from class org.hibernate.proxy.AbstractLazyInitializer |
getEntityName, getIdentifier, getImplementation, getImplementation, getSession, getTarget, initialize, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, prepareForPossibleSpecialSpecjInitialization, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, specialSpecjInitialization, unsetSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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,
SessionImplementor session,
boolean overridesEquals)
serializableProxy
protected abstract Object serializableProxy()
invoke
protected final Object invoke(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
getPersistentClass
public final Class getPersistentClass()
- Description copied from interface:
LazyInitializer
- Get the actual class of the entity. Generally,
LazyInitializer.getEntityName()
should be used instead.
- Returns:
- The actual entity class.
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.