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