FileDocCategorySizeDatePackage
IndirectContainer.javaAPI DocGlassfish v2 API3232Tue May 22 16:54:20 BST 2007oracle.toplink.essentials.indirection

IndirectContainer

public interface IndirectContainer
Purpose: Define an interface for a Container that can also act as a TopLink "indirection" object; i.e. the Container will only read its contents from the database when necessary (typically, on receipt of the first Container-related message).

see
oracle.toplink.essentials.internal.indirection.TransparentIndirectionPolicy
author
Big Country
since
TOPLink/Java 2.5

Fields Summary
Constructors Summary
Methods Summary
public oracle.toplink.essentials.indirection.ValueHolderInterfacegetValueHolder()
PUBLIC: This is used by the indirection policy to build the UOW clone of the container.

return
oracle.toplink.essentials.indirection.ValueHolderInterface A representation of the valueholder * which this container uses

public booleanisInstantiated()
PUBLIC: Return whether the contents have been read from the database. This is used periodically by the indirection policy to determine whether to trigger the database read.

public voidsetValueHolder(oracle.toplink.essentials.indirection.ValueHolderInterface valueHolder)
PUBLIC: Set the valueHolder. This is used by the indirection policy to build the UOW clone of the container.