FileDocCategorySizeDatePackage
LazyInitializer.javaAPI DocHibernate 3.2.51720Mon Jun 20 15:32:36 BST 2005org.hibernate.proxy

LazyInitializer

public interface LazyInitializer
Handles fetching of the underlying entity for a proxy
author
Gavin King

Fields Summary
Constructors Summary
Methods Summary
public abstract java.lang.StringgetEntityName()
Get the entity name

public abstract java.io.SerializablegetIdentifier()
Get the identifier held by the proxy

public abstract java.lang.ObjectgetImplementation()
Return the underlying persistent object, initializing if necessary

public abstract java.lang.ObjectgetImplementation(org.hibernate.engine.SessionImplementor s)
Return the underlying persistent object in the given Session, or null

public abstract java.lang.ClassgetPersistentClass()
Get the actual class of the entity (don't use this, use the entityName)

public abstract org.hibernate.engine.SessionImplementorgetSession()
Get the session, if this proxy is attached

public abstract voidinitialize()
Initialize the proxy, fetching the target entity if necessary

public abstract booleanisUninitialized()
Is the proxy uninitialzed?

public booleanisUnwrap()

public abstract voidsetIdentifier(java.io.Serializable id)
Set the identifier property of the proxy

public abstract voidsetImplementation(java.lang.Object target)
Initialize the proxy manually

public abstract voidsetSession(org.hibernate.engine.SessionImplementor s)
Attach the proxy to a session

public voidsetUnwrap(boolean unwrap)