corba/src/share/classes/org/omg/CORBA/LocalObject.java
author ohair
Tue, 25 May 2010 15:52:11 -0700
changeset 5555 b2b5ed3f0d0d
parent 4 02bb8761fcce
permissions -rw-r--r--
6943119: Rebrand source copyright notices Reviewed-by: darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     1
/*
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     2
 * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
02bb8761fcce Initial load
duke
parents:
diff changeset
     4
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
02bb8761fcce Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    10
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
02bb8761fcce Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
02bb8761fcce Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
02bb8761fcce Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
02bb8761fcce Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
02bb8761fcce Initial load
duke
parents:
diff changeset
    16
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
02bb8761fcce Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
02bb8761fcce Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
02bb8761fcce Initial load
duke
parents:
diff changeset
    20
 *
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    23
 * questions.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    24
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    25
02bb8761fcce Initial load
duke
parents:
diff changeset
    26
package org.omg.CORBA;
02bb8761fcce Initial load
duke
parents:
diff changeset
    27
import org.omg.CORBA.portable.*;
02bb8761fcce Initial load
duke
parents:
diff changeset
    28
02bb8761fcce Initial load
duke
parents:
diff changeset
    29
02bb8761fcce Initial load
duke
parents:
diff changeset
    30
/**
02bb8761fcce Initial load
duke
parents:
diff changeset
    31
 * <P>Used as a base class for implementation of a local IDL interface in the
02bb8761fcce Initial load
duke
parents:
diff changeset
    32
 * Java language mapping.  It is a class which implements all the operations
02bb8761fcce Initial load
duke
parents:
diff changeset
    33
 * in the <tt>org.omg.CORBA.Object</tt> interface.
02bb8761fcce Initial load
duke
parents:
diff changeset
    34
 * <P>Local interfaces are implemented by using CORBA::LocalObject
02bb8761fcce Initial load
duke
parents:
diff changeset
    35
 *  to provide implementations of <code>Object</code> pseudo
02bb8761fcce Initial load
duke
parents:
diff changeset
    36
 *  operations and any other ORB-specific support mechanisms that are
02bb8761fcce Initial load
duke
parents:
diff changeset
    37
 *  appropriate for such objects.  Object implementation techniques are
02bb8761fcce Initial load
duke
parents:
diff changeset
    38
 *  inherently language-mapping specific.  Therefore, the
02bb8761fcce Initial load
duke
parents:
diff changeset
    39
 *  <code>LocalObject</code> type is not defined in IDL, but is specified
02bb8761fcce Initial load
duke
parents:
diff changeset
    40
 *  in each language mapping.
02bb8761fcce Initial load
duke
parents:
diff changeset
    41
 *  <P>Methods that do not apply to local objects throw
02bb8761fcce Initial load
duke
parents:
diff changeset
    42
 *  an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with the message,
02bb8761fcce Initial load
duke
parents:
diff changeset
    43
 *  "This is a locally contrained object."  Attempting to use a
02bb8761fcce Initial load
duke
parents:
diff changeset
    44
 *  <TT>LocalObject</TT> to create a DII request results in NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
    45
 *  system exception.  Attempting to marshal or stringify a
02bb8761fcce Initial load
duke
parents:
diff changeset
    46
 *  <TT>LocalObject</TT> results in a MARSHAL system exception.  Narrowing
02bb8761fcce Initial load
duke
parents:
diff changeset
    47
 *  and widening references to <TT>LocalObjects</TT> must work as for regular
02bb8761fcce Initial load
duke
parents:
diff changeset
    48
 *  object references.
02bb8761fcce Initial load
duke
parents:
diff changeset
    49
 *  <P><code>LocalObject</code> is to be used as the base class of locally
02bb8761fcce Initial load
duke
parents:
diff changeset
    50
 *  constrained objects, such as those in the PortableServer module.
02bb8761fcce Initial load
duke
parents:
diff changeset
    51
 *  The specification here is based on the CORBA Components
02bb8761fcce Initial load
duke
parents:
diff changeset
    52
 *  Volume I - orbos/99-07-01<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    53
 * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
    54
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
    55
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    56
02bb8761fcce Initial load
duke
parents:
diff changeset
    57
public class LocalObject implements org.omg.CORBA.Object
02bb8761fcce Initial load
duke
parents:
diff changeset
    58
{
02bb8761fcce Initial load
duke
parents:
diff changeset
    59
    private static String reason = "This is a locally constrained object.";
02bb8761fcce Initial load
duke
parents:
diff changeset
    60
02bb8761fcce Initial load
duke
parents:
diff changeset
    61
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    62
     * Constructs a default <code>LocalObject</code> instance.
02bb8761fcce Initial load
duke
parents:
diff changeset
    63
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
    64
    public LocalObject() {}
02bb8761fcce Initial load
duke
parents:
diff changeset
    65
02bb8761fcce Initial load
duke
parents:
diff changeset
    66
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    67
     * <P>Determines whether the two object references are equivalent,
02bb8761fcce Initial load
duke
parents:
diff changeset
    68
     * so far as the ORB can easily determine. Two object references are equivalent
02bb8761fcce Initial load
duke
parents:
diff changeset
    69
     * if they are identical. Two distinct object references which in fact refer to
02bb8761fcce Initial load
duke
parents:
diff changeset
    70
     * the same object are also equivalent. However, ORBs are not required
02bb8761fcce Initial load
duke
parents:
diff changeset
    71
     * to attempt determination of whether two distinct object references
02bb8761fcce Initial load
duke
parents:
diff changeset
    72
     * refer to the same object, since such determination could be impractically
02bb8761fcce Initial load
duke
parents:
diff changeset
    73
     * expensive.
02bb8761fcce Initial load
duke
parents:
diff changeset
    74
     * <P>Default implementation of the org.omg.CORBA.Object method. <P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    75
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
    76
     * @param that the object reference with which to check for equivalence
02bb8761fcce Initial load
duke
parents:
diff changeset
    77
     * @return <code>true</code> if this object reference is known to be
02bb8761fcce Initial load
duke
parents:
diff changeset
    78
     *         equivalent to the given object reference.
02bb8761fcce Initial load
duke
parents:
diff changeset
    79
     *         Note that <code>false</code> indicates only that the two
02bb8761fcce Initial load
duke
parents:
diff changeset
    80
     *         object references are distinct, not necessarily that
02bb8761fcce Initial load
duke
parents:
diff changeset
    81
     *         they reference distinct objects.
02bb8761fcce Initial load
duke
parents:
diff changeset
    82
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
    83
    public boolean _is_equivalent(org.omg.CORBA.Object that) {
02bb8761fcce Initial load
duke
parents:
diff changeset
    84
        return equals(that) ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    85
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
    86
02bb8761fcce Initial load
duke
parents:
diff changeset
    87
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    88
     * Always returns <code>false</code>.
02bb8761fcce Initial load
duke
parents:
diff changeset
    89
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
    90
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
    91
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
    92
     * @return <code>false</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
    93
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
    94
    public boolean _non_existent() {
02bb8761fcce Initial load
duke
parents:
diff changeset
    95
        return false;
02bb8761fcce Initial load
duke
parents:
diff changeset
    96
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
    97
02bb8761fcce Initial load
duke
parents:
diff changeset
    98
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    99
     * Returns a hash value that is consistent for the
02bb8761fcce Initial load
duke
parents:
diff changeset
   100
     * lifetime of the object, using the given number as the maximum.
02bb8761fcce Initial load
duke
parents:
diff changeset
   101
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   102
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   103
     * @param maximum an <code>int</code> identifying maximum value of
02bb8761fcce Initial load
duke
parents:
diff changeset
   104
     *                  the hashcode
02bb8761fcce Initial load
duke
parents:
diff changeset
   105
     * @return this instance's hashcode
02bb8761fcce Initial load
duke
parents:
diff changeset
   106
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   107
    public int _hash(int maximum) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   108
        return hashCode() ;
02bb8761fcce Initial load
duke
parents:
diff changeset
   109
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   110
02bb8761fcce Initial load
duke
parents:
diff changeset
   111
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   112
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   113
     * the message "This is a locally constrained object."  This method
02bb8761fcce Initial load
duke
parents:
diff changeset
   114
     * does not apply to local objects and is therefore not implemented.
02bb8761fcce Initial load
duke
parents:
diff changeset
   115
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   116
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   117
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   118
     * @param repository_id a <code>String</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   119
     * @return NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   120
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   121
     * @exception NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   122
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   123
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   124
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   125
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   126
    public boolean _is_a(String repository_id) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   127
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   128
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   129
02bb8761fcce Initial load
duke
parents:
diff changeset
   130
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   131
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   132
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   133
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   134
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   135
     * @return a duplicate of this <code>LocalObject</code> instance.
02bb8761fcce Initial load
duke
parents:
diff changeset
   136
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   137
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   138
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   139
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   140
    public org.omg.CORBA.Object _duplicate() {
02bb8761fcce Initial load
duke
parents:
diff changeset
   141
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   142
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   143
02bb8761fcce Initial load
duke
parents:
diff changeset
   144
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   145
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   146
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   147
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   148
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   149
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   150
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   151
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   152
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   153
    public void _release() {
02bb8761fcce Initial load
duke
parents:
diff changeset
   154
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   155
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   156
02bb8761fcce Initial load
duke
parents:
diff changeset
   157
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   158
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   159
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   160
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   161
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   162
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   163
     * @param operation a <code>String</code> giving the name of an operation
02bb8761fcce Initial load
duke
parents:
diff changeset
   164
     *        to be performed by the request that is returned
02bb8761fcce Initial load
duke
parents:
diff changeset
   165
     * @return a <code>Request</code> object with the given operation
02bb8761fcce Initial load
duke
parents:
diff changeset
   166
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   167
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   168
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   169
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   170
    public Request _request(String operation) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   171
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   172
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   173
02bb8761fcce Initial load
duke
parents:
diff changeset
   174
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   175
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   176
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   177
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   178
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   179
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   180
     * @param ctx          a <code>Context</code> object containing
02bb8761fcce Initial load
duke
parents:
diff changeset
   181
     *                     a list of properties
02bb8761fcce Initial load
duke
parents:
diff changeset
   182
     * @param operation    the <code>String</code> representing the name of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   183
     *                     method to be invoked
02bb8761fcce Initial load
duke
parents:
diff changeset
   184
     * @param arg_list     an <code>NVList</code> containing the actual arguments
02bb8761fcce Initial load
duke
parents:
diff changeset
   185
     *                     to the method being invoked
02bb8761fcce Initial load
duke
parents:
diff changeset
   186
     * @param result       a <code>NamedValue</code> object to serve as a
02bb8761fcce Initial load
duke
parents:
diff changeset
   187
     *                     container for the method's return value
02bb8761fcce Initial load
duke
parents:
diff changeset
   188
     * @return a new <code>Request</code> object initialized with the given
02bb8761fcce Initial load
duke
parents:
diff changeset
   189
     * arguments
02bb8761fcce Initial load
duke
parents:
diff changeset
   190
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   191
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   192
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   193
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   194
    public Request _create_request(Context ctx,
02bb8761fcce Initial load
duke
parents:
diff changeset
   195
                                   String operation,
02bb8761fcce Initial load
duke
parents:
diff changeset
   196
                                   NVList arg_list,
02bb8761fcce Initial load
duke
parents:
diff changeset
   197
                                   NamedValue result) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   198
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   199
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   200
02bb8761fcce Initial load
duke
parents:
diff changeset
   201
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   202
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   203
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   204
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   205
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   206
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   207
     * @param ctx          a <code>Context</code> object containing
02bb8761fcce Initial load
duke
parents:
diff changeset
   208
     *                     a list of properties
02bb8761fcce Initial load
duke
parents:
diff changeset
   209
     * @param operation    the name of the method to be invoked
02bb8761fcce Initial load
duke
parents:
diff changeset
   210
     * @param arg_list     an <code>NVList</code> containing the actual arguments
02bb8761fcce Initial load
duke
parents:
diff changeset
   211
     *                     to the method being invoked
02bb8761fcce Initial load
duke
parents:
diff changeset
   212
     * @param result       a <code>NamedValue</code> object to serve as a
02bb8761fcce Initial load
duke
parents:
diff changeset
   213
     *                     container for the method's return value
02bb8761fcce Initial load
duke
parents:
diff changeset
   214
     * @param exceptions   an <code>ExceptionList</code> object containing a
02bb8761fcce Initial load
duke
parents:
diff changeset
   215
     *                     list of possible exceptions the method can throw
02bb8761fcce Initial load
duke
parents:
diff changeset
   216
     * @param contexts     a <code>ContextList</code> object containing a list of
02bb8761fcce Initial load
duke
parents:
diff changeset
   217
     *                     context strings that need to be resolved and sent
02bb8761fcce Initial load
duke
parents:
diff changeset
   218
     *                     with the
02bb8761fcce Initial load
duke
parents:
diff changeset
   219
     *                     <code>Request</code> instance
02bb8761fcce Initial load
duke
parents:
diff changeset
   220
     * @return the new <code>Request</code> object initialized with the given
02bb8761fcce Initial load
duke
parents:
diff changeset
   221
     * arguments
02bb8761fcce Initial load
duke
parents:
diff changeset
   222
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   223
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   224
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   225
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   226
    public Request _create_request(Context ctx,
02bb8761fcce Initial load
duke
parents:
diff changeset
   227
                                   String operation,
02bb8761fcce Initial load
duke
parents:
diff changeset
   228
                                   NVList arg_list,
02bb8761fcce Initial load
duke
parents:
diff changeset
   229
                                   NamedValue result,
02bb8761fcce Initial load
duke
parents:
diff changeset
   230
                                   ExceptionList exceptions,
02bb8761fcce Initial load
duke
parents:
diff changeset
   231
                                   ContextList contexts) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   232
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   233
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   234
02bb8761fcce Initial load
duke
parents:
diff changeset
   235
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   236
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   237
     * the message "This is a locally constrained object." This method
02bb8761fcce Initial load
duke
parents:
diff changeset
   238
     * does not apply to local objects and is therefore not implemented.
02bb8761fcce Initial load
duke
parents:
diff changeset
   239
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   240
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   241
     * @return NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   242
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   243
     * @exception NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   244
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   245
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   246
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   247
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   248
    public org.omg.CORBA.Object _get_interface()
02bb8761fcce Initial load
duke
parents:
diff changeset
   249
    {
02bb8761fcce Initial load
duke
parents:
diff changeset
   250
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   251
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   252
02bb8761fcce Initial load
duke
parents:
diff changeset
   253
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   254
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   255
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   256
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   257
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   258
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   259
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   260
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   261
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   262
    public org.omg.CORBA.Object _get_interface_def()
02bb8761fcce Initial load
duke
parents:
diff changeset
   263
    {
02bb8761fcce Initial load
duke
parents:
diff changeset
   264
        // First try to call the delegate implementation class's
02bb8761fcce Initial load
duke
parents:
diff changeset
   265
        // "Object get_interface_def(..)" method (will work for JDK1.2
02bb8761fcce Initial load
duke
parents:
diff changeset
   266
        // ORBs).
02bb8761fcce Initial load
duke
parents:
diff changeset
   267
        // Else call the delegate implementation class's
02bb8761fcce Initial load
duke
parents:
diff changeset
   268
        // "InterfaceDef get_interface(..)" method using reflection
02bb8761fcce Initial load
duke
parents:
diff changeset
   269
        // (will work for pre-JDK1.2 ORBs).
02bb8761fcce Initial load
duke
parents:
diff changeset
   270
02bb8761fcce Initial load
duke
parents:
diff changeset
   271
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   272
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   273
02bb8761fcce Initial load
duke
parents:
diff changeset
   274
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   275
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   276
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   277
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   278
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   279
     * @return the ORB instance that created the Delegate contained in this
02bb8761fcce Initial load
duke
parents:
diff changeset
   280
     * <code>ObjectImpl</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   281
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   282
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   283
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   284
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   285
    public org.omg.CORBA.ORB _orb() {
02bb8761fcce Initial load
duke
parents:
diff changeset
   286
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   287
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   288
02bb8761fcce Initial load
duke
parents:
diff changeset
   289
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   290
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   291
     * the message "This is a locally constrained object." This method
02bb8761fcce Initial load
duke
parents:
diff changeset
   292
     * does not apply to local objects and is therefore not implemented.
02bb8761fcce Initial load
duke
parents:
diff changeset
   293
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   294
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   295
     * @param policy_type  an <code>int</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   296
     * @return NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   297
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   298
     * @exception NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   299
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   300
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   301
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   302
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   303
    public org.omg.CORBA.Policy _get_policy(int policy_type) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   304
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   305
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   306
02bb8761fcce Initial load
duke
parents:
diff changeset
   307
02bb8761fcce Initial load
duke
parents:
diff changeset
   308
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   309
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   310
     * the message "This is a locally constrained object." This method
02bb8761fcce Initial load
duke
parents:
diff changeset
   311
     * does not apply to local objects and is therefore not implemented.
02bb8761fcce Initial load
duke
parents:
diff changeset
   312
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   313
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   314
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   315
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   316
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   317
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   318
    public org.omg.CORBA.DomainManager[] _get_domain_managers() {
02bb8761fcce Initial load
duke
parents:
diff changeset
   319
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   320
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   321
02bb8761fcce Initial load
duke
parents:
diff changeset
   322
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   323
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   324
     * the message "This is a locally constrained object." This method
02bb8761fcce Initial load
duke
parents:
diff changeset
   325
     * does not apply to local objects and is therefore not implemented.
02bb8761fcce Initial load
duke
parents:
diff changeset
   326
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   327
     * <code>org.omg.CORBA.Object</code> method.
02bb8761fcce Initial load
duke
parents:
diff changeset
   328
     *
02bb8761fcce Initial load
duke
parents:
diff changeset
   329
     * @param policies an array
02bb8761fcce Initial load
duke
parents:
diff changeset
   330
     * @param set_add a flag
02bb8761fcce Initial load
duke
parents:
diff changeset
   331
     * @return NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   332
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   333
     * @exception NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   334
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   335
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   336
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   337
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   338
    public org.omg.CORBA.Object
02bb8761fcce Initial load
duke
parents:
diff changeset
   339
        _set_policy_override(org.omg.CORBA.Policy[] policies,
02bb8761fcce Initial load
duke
parents:
diff changeset
   340
                             org.omg.CORBA.SetOverrideType set_add) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   341
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   342
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   343
02bb8761fcce Initial load
duke
parents:
diff changeset
   344
02bb8761fcce Initial load
duke
parents:
diff changeset
   345
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   346
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   347
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   348
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   349
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   350
     * Returns <code>true</code> for this <code>LocalObject</code> instance.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   351
     * @return <code>true</code> always
02bb8761fcce Initial load
duke
parents:
diff changeset
   352
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   353
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   354
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   355
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   356
    public boolean _is_local() {
02bb8761fcce Initial load
duke
parents:
diff changeset
   357
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   358
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   359
02bb8761fcce Initial load
duke
parents:
diff changeset
   360
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   361
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   362
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   363
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   364
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   365
     * @param operation a <code>String</code> indicating which operation
02bb8761fcce Initial load
duke
parents:
diff changeset
   366
     *                  to preinvoke
02bb8761fcce Initial load
duke
parents:
diff changeset
   367
     * @param expectedType the class of the type of operation mentioned above
02bb8761fcce Initial load
duke
parents:
diff changeset
   368
     * @return NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   369
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   370
     * @exception NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   371
     *      and this method does not apply to local object
02bb8761fcce Initial load
duke
parents:
diff changeset
   372
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   373
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   374
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   375
    public ServantObject _servant_preinvoke(String operation,
02bb8761fcce Initial load
duke
parents:
diff changeset
   376
                                            Class expectedType) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   377
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   378
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   379
02bb8761fcce Initial load
duke
parents:
diff changeset
   380
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   381
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   382
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   383
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   384
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   385
     * @param servant the servant object on which to post-invoke
02bb8761fcce Initial load
duke
parents:
diff changeset
   386
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   387
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   388
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   389
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   390
    public void _servant_postinvoke(ServantObject servant) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   391
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   392
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   393
02bb8761fcce Initial load
duke
parents:
diff changeset
   394
    /*
02bb8761fcce Initial load
duke
parents:
diff changeset
   395
     * The following methods were added by orbos/98-04-03: Java to IDL
02bb8761fcce Initial load
duke
parents:
diff changeset
   396
     * Mapping. These are used by RMI over IIOP.
02bb8761fcce Initial load
duke
parents:
diff changeset
   397
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   398
02bb8761fcce Initial load
duke
parents:
diff changeset
   399
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   400
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   401
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   402
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   403
     * <code>org.omg.CORBA.Object</code> method.
02bb8761fcce Initial load
duke
parents:
diff changeset
   404
     * <P>Called by a stub to obtain an OutputStream for
02bb8761fcce Initial load
duke
parents:
diff changeset
   405
     * marshaling arguments. The stub must supply the operation name,
02bb8761fcce Initial load
duke
parents:
diff changeset
   406
     * and indicate if a response is expected (i.e is this a oneway
02bb8761fcce Initial load
duke
parents:
diff changeset
   407
     * call).<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   408
     * @param operation the name of the operation being requested
02bb8761fcce Initial load
duke
parents:
diff changeset
   409
     * @param responseExpected <code>true</code> if a response is expected,
02bb8761fcce Initial load
duke
parents:
diff changeset
   410
     *                         <code>false</code> if it is a one-way call
02bb8761fcce Initial load
duke
parents:
diff changeset
   411
     * @return NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   412
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   413
     * @exception NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   414
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   415
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   416
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   417
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   418
    public OutputStream _request(String operation,
02bb8761fcce Initial load
duke
parents:
diff changeset
   419
                                 boolean responseExpected) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   420
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   421
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   422
02bb8761fcce Initial load
duke
parents:
diff changeset
   423
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   424
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   425
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   426
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   427
     * <code>org.omg.CORBA.Object</code> method.
02bb8761fcce Initial load
duke
parents:
diff changeset
   428
     * <P>Called to invoke an operation. The stub provides an
02bb8761fcce Initial load
duke
parents:
diff changeset
   429
     * <code>OutputStream</code> that was previously returned by a
02bb8761fcce Initial load
duke
parents:
diff changeset
   430
     * <code>_request()</code>
02bb8761fcce Initial load
duke
parents:
diff changeset
   431
     * call. <code>_invoke</code> returns an <code>InputStream</code> which
02bb8761fcce Initial load
duke
parents:
diff changeset
   432
     * contains the
02bb8761fcce Initial load
duke
parents:
diff changeset
   433
     * marshaled reply. If an exception occurs, <code>_invoke</code> may throw an
02bb8761fcce Initial load
duke
parents:
diff changeset
   434
     * <code>ApplicationException</code> object which contains an
02bb8761fcce Initial load
duke
parents:
diff changeset
   435
     * <code>InputStream</code> from
02bb8761fcce Initial load
duke
parents:
diff changeset
   436
     * which the user exception state may be unmarshaled.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   437
     * @param output the <code>OutputStream</code> to invoke
02bb8761fcce Initial load
duke
parents:
diff changeset
   438
     * @return NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   439
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   440
     * @throws ApplicationException If an exception occurs,
02bb8761fcce Initial load
duke
parents:
diff changeset
   441
     * <code>_invoke</code> may throw an
02bb8761fcce Initial load
duke
parents:
diff changeset
   442
     * <code>ApplicationException</code> object which contains
02bb8761fcce Initial load
duke
parents:
diff changeset
   443
     * an <code>InputStream</code> from
02bb8761fcce Initial load
duke
parents:
diff changeset
   444
     * which the user exception state may be unmarshaled.
02bb8761fcce Initial load
duke
parents:
diff changeset
   445
     * @throws RemarshalException If an exception occurs,
02bb8761fcce Initial load
duke
parents:
diff changeset
   446
     * <code>_invoke</code> may throw an
02bb8761fcce Initial load
duke
parents:
diff changeset
   447
     * <code>ApplicationException</code> object which contains
02bb8761fcce Initial load
duke
parents:
diff changeset
   448
     * an <code>InputStream</code> from
02bb8761fcce Initial load
duke
parents:
diff changeset
   449
     * which the user exception state may be unmarshaled.
02bb8761fcce Initial load
duke
parents:
diff changeset
   450
     * @exception NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   451
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   452
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   453
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   454
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   455
    public InputStream _invoke(OutputStream output)
02bb8761fcce Initial load
duke
parents:
diff changeset
   456
        throws ApplicationException, RemarshalException
02bb8761fcce Initial load
duke
parents:
diff changeset
   457
    {
02bb8761fcce Initial load
duke
parents:
diff changeset
   458
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   459
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   460
02bb8761fcce Initial load
duke
parents:
diff changeset
   461
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   462
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   463
     * the message "This is a locally constrained object."
02bb8761fcce Initial load
duke
parents:
diff changeset
   464
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   465
     * <code>org.omg.CORBA.Object</code> method.
02bb8761fcce Initial load
duke
parents:
diff changeset
   466
     * <P>May optionally be called by a stub to release a
02bb8761fcce Initial load
duke
parents:
diff changeset
   467
     * reply stream back to the ORB when the unmarshaling has
02bb8761fcce Initial load
duke
parents:
diff changeset
   468
     * completed. The stub passes the <code>InputStream</code> returned by
02bb8761fcce Initial load
duke
parents:
diff changeset
   469
     * <code>_invoke()</code> or
02bb8761fcce Initial load
duke
parents:
diff changeset
   470
     * <code>ApplicationException.getInputStream()</code>.
02bb8761fcce Initial load
duke
parents:
diff changeset
   471
     * A null
02bb8761fcce Initial load
duke
parents:
diff changeset
   472
     * value may also be passed to <code>_releaseReply</code>, in which case the
02bb8761fcce Initial load
duke
parents:
diff changeset
   473
     * method is a no-op.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   474
     * @param input the reply stream back to the ORB or null
02bb8761fcce Initial load
duke
parents:
diff changeset
   475
     * @exception NO_IMPLEMENT
02bb8761fcce Initial load
duke
parents:
diff changeset
   476
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   477
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   478
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   479
    public void _releaseReply(InputStream input) {
02bb8761fcce Initial load
duke
parents:
diff changeset
   480
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   481
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   482
02bb8761fcce Initial load
duke
parents:
diff changeset
   483
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   484
     * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with
02bb8761fcce Initial load
duke
parents:
diff changeset
   485
     * the message "This is a locally constrained object." This method
02bb8761fcce Initial load
duke
parents:
diff changeset
   486
     * does not apply to local objects and is therefore not implemented.
02bb8761fcce Initial load
duke
parents:
diff changeset
   487
     * This method is the default implementation of the
02bb8761fcce Initial load
duke
parents:
diff changeset
   488
     * <code>org.omg.CORBA.Object</code> method.<P>
02bb8761fcce Initial load
duke
parents:
diff changeset
   489
     * @return NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   490
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   491
     * @exception NO_IMPLEMENT because this is a locally constrained object
02bb8761fcce Initial load
duke
parents:
diff changeset
   492
     *      and this method does not apply to local objects
02bb8761fcce Initial load
duke
parents:
diff changeset
   493
     * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
02bb8761fcce Initial load
duke
parents:
diff changeset
   494
     *      comments for unimplemented features</a>
02bb8761fcce Initial load
duke
parents:
diff changeset
   495
     */
02bb8761fcce Initial load
duke
parents:
diff changeset
   496
02bb8761fcce Initial load
duke
parents:
diff changeset
   497
    public boolean validate_connection() {
02bb8761fcce Initial load
duke
parents:
diff changeset
   498
        throw new org.omg.CORBA.NO_IMPLEMENT(reason);
02bb8761fcce Initial load
duke
parents:
diff changeset
   499
    }
02bb8761fcce Initial load
duke
parents:
diff changeset
   500
}