27 * RMI-IIOP v1.0
28 * Copyright IBM Corp. 1998 1999 All Rights Reserved
29 *
30 */
31
32 package javax.rmi.CORBA;
33
34 import java.rmi.Remote;
35 import java.util.Hashtable;
36
37 import org.omg.CORBA.portable.ApplicationException;
38 import org.omg.CORBA.portable.InputStream;
39 import org.omg.CORBA.portable.OutputStream;
40 import org.omg.CORBA.portable.ObjectImpl;
41 import org.omg.CORBA.portable.ResponseHandler;
42 import org.omg.CORBA.portable.Delegate;
43 import org.omg.CORBA.ORB;
44
45 /**
46 * Defines methods which all RMI-IIOP server side ties must implement.
47 */
48 public interface Tie extends org.omg.CORBA.portable.InvokeHandler {
49 /**
50 * Returns an object reference for the target object represented by
51 * this tie.
52 * @return an object reference for the target object.
53 */
54 org.omg.CORBA.Object thisObject();
55
56 /**
57 * Deactivates the target object represented by this tie.
58 */
59 void deactivate() throws java.rmi.NoSuchObjectException;
60
61 /**
62 * Returns the ORB for this tie.
63 * @return the ORB.
64 */
65 ORB orb();
66
|
27 * RMI-IIOP v1.0
28 * Copyright IBM Corp. 1998 1999 All Rights Reserved
29 *
30 */
31
32 package javax.rmi.CORBA;
33
34 import java.rmi.Remote;
35 import java.util.Hashtable;
36
37 import org.omg.CORBA.portable.ApplicationException;
38 import org.omg.CORBA.portable.InputStream;
39 import org.omg.CORBA.portable.OutputStream;
40 import org.omg.CORBA.portable.ObjectImpl;
41 import org.omg.CORBA.portable.ResponseHandler;
42 import org.omg.CORBA.portable.Delegate;
43 import org.omg.CORBA.ORB;
44
45 /**
46 * Defines methods which all RMI-IIOP server side ties must implement.
47 *
48 * @since 1.3
49 */
50 public interface Tie extends org.omg.CORBA.portable.InvokeHandler {
51 /**
52 * Returns an object reference for the target object represented by
53 * this tie.
54 * @return an object reference for the target object.
55 */
56 org.omg.CORBA.Object thisObject();
57
58 /**
59 * Deactivates the target object represented by this tie.
60 */
61 void deactivate() throws java.rmi.NoSuchObjectException;
62
63 /**
64 * Returns the ORB for this tie.
65 * @return the ORB.
66 */
67 ORB orb();
68
|