KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openejb > core > ivm > IntraVmProxy


1 package org.openejb.core.ivm;
2
3 import java.io.ObjectStreamException JavaDoc;
4
5 /**
6  * All proxies that are created for IntraVM EJBObject and EJBHome implementations
7  * must implement this interface. This interface will result in the handler being notified
8    when the proxy is being serialized.
9  *
10  * @author <a HREF="mailto:david.blevins@visi.com">David Blevins</a>
11  */

12 public interface IntraVmProxy extends java.io.Serializable JavaDoc {
13
14     /**
15      * If the proxy is being copied between bean instances in a RPC
16      * call we use the IntraVmArtifact
17      *
18      * If the proxy is referenced by a stateful bean that is being
19      * passivated by the container we allow this object to be serialized.
20      *
21      * If the proxy is serialized outside the core container system,
22      * we allow the application server to handle it.
23      *
24      * @return Object
25      * @exception ObjectStreamException
26      */

27     public Object JavaDoc writeReplace() throws ObjectStreamException JavaDoc;
28
29 }
30
Popular Tags