org.openejb.core.ivm
Interface IntraVmProxy
- All Superinterfaces:
- Serializable
public interface IntraVmProxy
- extends 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 |
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
Object writeReplace()
throws 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:
ObjectStreamException
Copyright © 1999-2012 OpenEJB. All Rights Reserved.