Top Description Fields Constructors Methods
org.hibernate.proxy

public abstract Class AbstractSerializableProxy

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Known Direct Subclasses
org.hibernate.proxy.pojo.cglib.SerializableProxy, org.hibernate.proxy.pojo.javassist.SerializableProxy
Imports
java.io.Serializable

Convenience base class for SerializableProxy.
Author
Gail Badner

Field Summary

Modifier and TypeField and Description
private String
private Serializable
private Boolean

Constructor Summary

AccessConstructor and Description
protected
AbstractSerializableProxy()

For serialization

protected

Method Summary

Modifier and TypeMethod and Description
protected String
protected Serializable
protected void
setReadOnlyBeforeAttachedToSession(AbstractLazyInitializer
the read-only/modifiable setting to use when associated with a session; null indicates that the default should be used.
li
)

Set the read-only/modifiable setting from this object in an AbstractLazyInitializer.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

entityNameback to summary
private String entityName
idback to summary
private Serializable id
readOnlyback to summary
private Boolean readOnly

Constructor Detail

AbstractSerializableProxyback to summary
protected AbstractSerializableProxy()

For serialization

AbstractSerializableProxyback to summary
protected AbstractSerializableProxy(String entityName, Serializable id, Boolean readOnly)

Method Detail

getEntityNameback to summary
protected String getEntityName()
getIdback to summary
protected Serializable getId()
setReadOnlyBeforeAttachedToSessionback to summary
protected void setReadOnlyBeforeAttachedToSession(AbstractLazyInitializer li)

Set the read-only/modifiable setting from this object in an AbstractLazyInitializer. This method should only be called during deserialization, before associating the AbstractLazyInitializer with a session.

Parameters
li:AbstractLazyInitializer

the read-only/modifiable setting to use when associated with a session; null indicates that the default should be used.

Exceptions
IllegalStateException:
if isReadOnlySettingAvailable() == true