org.openejb.core.ivm
Interface IntraVmProxy
- All Superinterfaces:
- java.io.Serializable
public interface IntraVmProxy
- extends java.io.Serializable
All proxies that are created for IntraVM EJBObject and EJBHome implementations
must implement this interface. This interface will result in the handler being notified
when the proxy is being serialized.
- Author:
- David Blevins
Method Summary |
java.lang.Object |
writeReplace()
If the proxy is being copied between bean instances in a RPC
call we use the IntraVmArtifact
If the proxy is referenced by a stateful bean that is being
passivated by the container we allow this object to be serialized. |
writeReplace
java.lang.Object writeReplace()
throws java.io.ObjectStreamException
- If the proxy is being copied between bean instances in a RPC
call we use the IntraVmArtifact
If the proxy is referenced by a stateful bean that is being
passivated by the container we allow this object to be serialized.
If the proxy is serialized outside the core container system,
we allow the application server to handle it.
- Returns:
- Object
- Throws:
java.io.ObjectStreamException
Copyright © 1999-2011 OpenEJB. All Rights Reserved.