org.castor.persist.proxy
public interface LazyCGLIB extends Serializable
Implementations of this class need to provide a writeReplace() methor required during Java serialization.
Method Summary | |
---|---|
Class | interceptedClass()
Returns the Class instance for the class to be intercepted. |
ClassMolder | interceptedClassMolder()
Returns the ClassMolder of the object intercepted. |
Boolean | interceptedHasMaterialized() |
Identity | interceptedIdentity()
Returns the identity of the object (class) intercepted. |
Object | writeReplace()
Implementation of writeReplace specific to lazy loading. |
Returns: Class instance for the intercepted class.
Returns: ClassMolder of the object intercepted.
Returns: true if the object has been materialized; otherwise, returns false.
Returns: identity of the object (class) intercepted.
Returns: The real object.
Throws: ObjectStreamException If the replace activity failed.