org.exolab.castor.persist
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() |
| Object | interceptedIdentity()
Returns the identity of the object (class) intercepted. |
| LockEngine | interceptedLockEngine()
Returns the LockEngine of the object 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: LockEngine of the object intercepted.
Returns: The real object.
Throws: ObjectStreamException If the replace activity failed.