org.apache.wicket.proxy
Interface LazyInitProxyFactory.IWriteReplace
- Enclosing class:
- LazyInitProxyFactory
protected static interface LazyInitProxyFactory.IWriteReplace
This interface is used to make the proxy forward writeReplace() call to the handler instead
of invoking it on itself. This allows us to serialize the replacement objet instead of the
proxy itself in case the proxy subclass is deserialized on a VM that does not have it
created.
- Author:
- Igor Vaynberg (ivaynberg)
- See Also:
ProxyReplacement
Method Summary |
java.lang.Object |
writeReplace()
write replace method as defined by Serializable |
writeReplace
java.lang.Object writeReplace()
throws java.io.ObjectStreamException
- write replace method as defined by Serializable
- Returns:
- object that will replace this object in serialized state
- Throws:
java.io.ObjectStreamException
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.