src/share/classes/javax/rmi/CORBA/Tie.java

Thu, 17 Jun 2010 16:27:56 -0700

author
mikejwre
date
Thu, 17 Jun 2010 16:27:56 -0700
changeset 171
95db968660e7
parent 158
91006f157c46
child 748
6845b95cba6b
permissions
-rw-r--r--

Added tag jdk7-b98 for changeset 3b99409057e4

     1 /*
     2  * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     8  * particular file as subject to the "Classpath" exception as provided
     9  * by Oracle in the LICENSE file that accompanied this code.
    10  *
    11  * This code is distributed in the hope that it will be useful, but WITHOUT
    12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    14  * version 2 for more details (a copy is included in the LICENSE file that
    15  * accompanied this code).
    16  *
    17  * You should have received a copy of the GNU General Public License version
    18  * 2 along with this work; if not, write to the Free Software Foundation,
    19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    20  *
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    24  */
    25 /*
    26  * Licensed Materials - Property of IBM
    27  * RMI-IIOP v1.0
    28  * Copyright IBM Corp. 1998 1999  All Rights Reserved
    29  *
    30  */
    32 package javax.rmi.CORBA;
    34 import java.rmi.Remote;
    35 import java.util.Hashtable;
    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;
    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();
    56     /**
    57      * Deactivates the target object represented by this tie.
    58      */
    59     void deactivate() throws java.rmi.NoSuchObjectException;
    61     /**
    62      * Returns the ORB for this tie.
    63      * @return the ORB.
    64      */
    65     ORB orb();
    67     /**
    68      * Sets the ORB for this tie.
    69      * @param orb the ORB.
    70      */
    71     void orb(ORB orb);
    73     /**
    74      * Called by {@link Util#registerTarget} to set the target
    75      * for this tie.
    76      * @param target the object to use as the target for this tie.
    77      */
    78     void setTarget(java.rmi.Remote target);
    80     /**
    81      * Returns the target for this tie.
    82      * @return the target.
    83      */
    84     java.rmi.Remote getTarget();
    85 }

mercurial