src/share/classes/org/omg/CORBA/ValueMember.java

Mon, 20 Apr 2009 00:12:19 -0700

author
tbell
date
Mon, 20 Apr 2009 00:12:19 -0700
changeset 68
4906dae0c5fa
parent 1
55540e827aef
child 158
91006f157c46
permissions
-rw-r--r--

6372405: Server thread hangs when fragments don't complete because of connection abort
5104239: Java: thread deadlock
6191561: JCK15: api/org_omg/PortableInterceptor/ClientRequestInfo/index.html#RIMethods sometime hang
6486322: org.omg.CORBA.ORB.init() thread safety issue
6420980: Security issue with the com.sun.corba.se.impl.orbutil.ORBUtility class
6465377: NullPointerException for RMI ORB in 1.5.0_08
6553303: Corba application fails w/ org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
6438259: Wrong repository ID generated by IDLJ
Reviewed-by: darcy

     1 /*
     2  * Copyright 1998-2000 Sun Microsystems, Inc.  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.  Sun designates this
     8  * particular file as subject to the "Classpath" exception as provided
     9  * by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    22  * CA 95054 USA or visit www.sun.com if you need additional information or
    23  * have any questions.
    24  */
    25 /*
    26  * File: ./org/omg/CORBA/ValueMember.java
    27  * From: ./ir.idl
    28  * Date: Fri Aug 28 16:03:31 1998
    29  *   By: idltojava Java IDL 1.2 Aug 11 1998 02:00:18
    30  */
    32 package org.omg.CORBA;
    34 /**
    35  * A description in the Interface Repository of
    36  * a member of a <code>value</code> object.
    37  */
    38 public final class ValueMember implements org.omg.CORBA.portable.IDLEntity {
    40     //  instance variables
    42     /**
    43      * The name of the <code>value</code> member described by this
    44      * <code>ValueMember</code> object.
    45      * @serial
    46      */
    47     public String name;
    49     /**
    50      * The repository ID of the <code>value</code> member described by
    51      * this <code>ValueMember</code> object;
    52      * @serial
    53      */
    54     public String id;
    56     /**
    57      * The repository ID of the <code>value</code> in which this member
    58      * is defined.
    59      * @serial
    60      */
    61     public String defined_in;
    63     /**
    64      * The version of the <code>value</code> in which this member is defined.
    65      * @serial
    66      */
    67     public String version;
    69     /**
    70      * The type of of this <code>value</code> member.
    71      * @serial
    72      */
    73     public org.omg.CORBA.TypeCode type;
    75     /**
    76      * The typedef that represents the IDL type of the <code>value</code>
    77      * member described by this <code>ValueMember</code> object.
    78      * @serial
    79      */
    80     public org.omg.CORBA.IDLType type_def;
    82     /**
    83      * The type of access (public, private) for the <code>value</code>
    84      * member described by this <code>ValueMember</code> object.
    85      * @serial
    86      */
    87     public short access;
    88     //  constructors
    90     /**
    91      * Constructs a default <code>ValueMember</code> object.
    92      */
    93     public ValueMember() { }
    95     /**
    96      * Constructs a <code>ValueMember</code> object initialized with
    97      * the given values.
    98      *
    99      *@param __name The name of the <code>value</code> member described by this
   100      * <code>ValueMember</code> object.
   101      *@param __id The repository ID of the <code>value</code> member described by
   102      * this <code>ValueMember</code> object;
   103      *@param __defined_in The repository ID of the <code>value</code> in which this member
   104      * is defined.
   105      *@param __version The version of the <code>value</code> in which this member is defined.
   106      *@param __type The type of of this <code>value</code> member.
   107      *@param __type_def The typedef that represents the IDL type of the <code>value</code>
   108      * member described by this <code>ValueMember</code> object.
   109      *@param __access The type of access (public, private) for the <code>value</code>
   110      * member described by this <code>ValueMember</code> object.
   111      */
   112     public ValueMember(String __name, String __id, String __defined_in, String __version, org.omg.CORBA.TypeCode __type, org.omg.CORBA.IDLType __type_def, short __access) {
   113         name = __name;
   114         id = __id;
   115         defined_in = __defined_in;
   116         version = __version;
   117         type = __type;
   118         type_def = __type_def;
   119         access = __access;
   120     }
   121 }

mercurial