|
Invocation API 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SerializableProxy
Serialized representation of a proxy. When a proxy that is using a SerializableProxy is serialized it is serialized
via the following mechanism:
Object writeReplace() throws ObjectStreamException {
SerializableProxy proxy = serializableClass.newInstance();
proxy.setProxyInstance(this);
return proxy;
}
Implementors of this interface should store any state that is required to re-create the proxy in this class's serialized
form. Implementors also *MUST* implement an Object readResolve() throws ObjectStreamException method, the
returns the de-serialized proxy.
DefaultSerializableProxy| Method Summary | |
|---|---|
void |
setProxyInstance(Object proxy)
Set the proxy instance. |
| Method Detail |
|---|
void setProxyInstance(Object proxy)
proxy - the proxy instance
|
Invocation API 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||