org.castor.persist.proxy
Interface LazyCGLIB
- Serializable
public interface LazyCGLIB
extends Serializable
Lazy is a place holder interface to indicate that a data object or
a Collection in a data object is an Lazy instance. In other words,
instances of the objects are not retrieved from the persistence
store at load time, but will be materialized when the instance
is actually needed/accessed.
Implementations of this class need to provide a writeReplace()
methor required during Java serialization.
interceptedClass
public Class interceptedClass()
Returns the Class instance for the class to be intercepted.
- Class instance for the intercepted class.
interceptedClassMolder
public ClassMolder interceptedClassMolder()
Returns the ClassMolder of the object intercepted.
- ClassMolder of the object intercepted.
interceptedHasMaterialized
public Boolean interceptedHasMaterialized()
- true if the object has been materialized; otherwise, returns false.
interceptedIdentity
public Identity interceptedIdentity()
Returns the identity of the object (class) intercepted.
- identity of the object (class) intercepted.
writeReplace
public Object writeReplace()
throws ObjectStreamException
Implementation of writeReplace specific to lazy loading.
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com