KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > rmi > server > StubInvocationHandler


1 package org.sapia.ubik.rmi.server;
2
3 import java.lang.reflect.InvocationHandler JavaDoc;
4
5
6 /**
7  * Base interface of invocation handlers that implement the logic of dynamic stubs -
8  * created by the Ubik RMI runtime.
9  *
10  * @author Yanick Duchesne
11  *
12  * <dl>
13  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
14  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
15  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
16  * </dl>
17  */

18 public interface StubInvocationHandler extends InvocationHandler JavaDoc {
19   /**
20    * Returns this instance's stub container.
21    *
22    * @return a <code>StubContainer</code>
23    */

24   public StubContainer toStubContainer(Object JavaDoc proxy);
25   
26   /**
27    * Returns the object identifier of the remote object corresponding to this
28    * instance.
29    *
30    * @return an <code>OID</code>.
31    */

32   public OID getOID();
33   
34 }
35
Popular Tags