diff options
author | Diego Novillo <dnovillo@redhat.com> | 2005-11-01 02:49:28 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@redhat.com> | 2005-11-01 02:49:28 +0000 |
commit | f3e225d35278511de0536eac5524fd04cbd0254d (patch) | |
tree | cef4e8b895969ba6d8b4f443c1bfe7216ad7f9bd /libjava/classpath/org | |
parent | c5b0773b60046b79ac4ec83e150048193ccb5c55 (diff) |
Delete libjava to fix repository conversion problem.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gomp-20050608-branch@106314 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/org')
520 files changed, 0 insertions, 5604 deletions
diff --git a/libjava/classpath/org/ietf/jgss/ChannelBinding.java b/libjava/classpath/org/ietf/jgss/ChannelBinding.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/ietf/jgss/ChannelBinding.java +++ /dev/null diff --git a/libjava/classpath/org/ietf/jgss/GSSContext.java b/libjava/classpath/org/ietf/jgss/GSSContext.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/ietf/jgss/GSSContext.java +++ /dev/null diff --git a/libjava/classpath/org/ietf/jgss/GSSCredential.java b/libjava/classpath/org/ietf/jgss/GSSCredential.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/ietf/jgss/GSSCredential.java +++ /dev/null diff --git a/libjava/classpath/org/ietf/jgss/GSSException.java b/libjava/classpath/org/ietf/jgss/GSSException.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/ietf/jgss/GSSException.java +++ /dev/null diff --git a/libjava/classpath/org/ietf/jgss/GSSManager.java b/libjava/classpath/org/ietf/jgss/GSSManager.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/ietf/jgss/GSSManager.java +++ /dev/null diff --git a/libjava/classpath/org/ietf/jgss/GSSName.java b/libjava/classpath/org/ietf/jgss/GSSName.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/ietf/jgss/GSSName.java +++ /dev/null diff --git a/libjava/classpath/org/ietf/jgss/MessageProp.java b/libjava/classpath/org/ietf/jgss/MessageProp.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/ietf/jgss/MessageProp.java +++ /dev/null diff --git a/libjava/classpath/org/ietf/jgss/Oid.java b/libjava/classpath/org/ietf/jgss/Oid.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/ietf/jgss/Oid.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ARG_IN.java b/libjava/classpath/org/omg/CORBA/ARG_IN.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ARG_IN.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ARG_INOUT.java b/libjava/classpath/org/omg/CORBA/ARG_INOUT.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ARG_INOUT.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ARG_OUT.java b/libjava/classpath/org/omg/CORBA/ARG_OUT.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ARG_OUT.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/Any.java b/libjava/classpath/org/omg/CORBA/Any.java deleted file mode 100644 index 1e72709d202..00000000000 --- a/libjava/classpath/org/omg/CORBA/Any.java +++ /dev/null @@ -1,460 +0,0 @@ -/* Any.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA; - -import java.io.Serializable; - -import org.omg.CORBA.portable.IDLEntity; - -/** - * A container that can store a value of either user defined or - * primitive IDL type. - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) - */ -public abstract class Any - implements Serializable, IDLEntity -{ - /** - * Using v 1.4 serialVersionUID for interoperability. - */ - private static final long serialVersionUID = 1217179597823814463L; - - /** - * Creates an input stream from that this Any object's value can be - * read (unmarshalled). - */ - public abstract org.omg.CORBA.portable.InputStream create_input_stream(); - - /** - * Creates an output stream into which this <code>Any</code> object's - * value can be written (marshalled). - * - * @return the newly created output stream. - */ - public abstract org.omg.CORBA.portable.OutputStream create_output_stream(); - - /** - * Compare this <code>Any</code> with another <code>Any</code>. - * - * @param other the other instance to compare with. - * - * @return true if both values and value typecodes are equal, - * false otherwise. - */ - public abstract boolean equal(Any other); - - /** - * Extract the CORBA <code>Object</code> from this <code>Any</code> - * @throws BAD_OPERATION if this instance contains value other - * than <code>Object</code> or the value has not been set. - */ - public abstract org.omg.CORBA.Object extract_Object() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>Principal</code> from this <code>Any</code> - * - * @throws NO_IMPLEMENT, always. - * - * @deprecated by CORBA 2.2. - */ - public Principal extract_Principal() - { - throw new NO_IMPLEMENT(); - } - - /** - * Extract an arbitrary {@link org.omg.CORBA.portable.Streamable } from - * this <code>Any</code>. - * - * @throws BAD_INV_ORDER if the caller has invoked operations in the - * wrong order. - * - * @throws NO_IMPLEMENT, always (override to get functionality). - */ - public org.omg.CORBA.portable.Streamable extract_Streamable() - throws org.omg.CORBA.BAD_INV_ORDER - { - throw new NO_IMPLEMENT(); - } - - /** - * Extract the TypeCode from this <code>Any</code> value field. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>TypeCode</code> or the value has not been set. - */ - public abstract TypeCode extract_TypeCode() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>Value</code> from this <code>Any</code> - * @throws BAD_OPERATION if this instance contains value other - * than <code>Value</code> or the value has not been set. - */ - public abstract java.io.Serializable extract_Value() - throws BAD_OPERATION; - - /** - * Extract another <code>Any</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>any</code> or the value has not been set. - */ - public abstract Any extract_any() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>boolean</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>boolean</code> or the value has not been set. - */ - public abstract boolean extract_boolean() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>char</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>char</code> or the value has not been set. - */ - public abstract char extract_char() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>double</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>double</code> or the value has not been set. - */ - public abstract double extract_double() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>fixed</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>fixed</code> or the value has not been set. - * - * @throws NO_IMPLEMENT, always (override to get functionality). - */ - public java.math.BigDecimal extract_fixed() - throws BAD_OPERATION - { - throw new NO_IMPLEMENT(); - } - - /** - * Extract the CORBA <code>float</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>float</code> or the value has not been set. - */ - public abstract float extract_float() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>long</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>long</code> or the value has not been set. - */ - public abstract int extract_long() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>long long</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>longlong</code> or the value has not been set. - */ - public abstract long extract_longlong() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>octet</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>octet</code> or the value has not been set. - */ - public abstract byte extract_octet() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>short</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>short</code> or the value has not been set. - */ - public abstract short extract_short() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>string</code> from this <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than <code>string</code> or the value has not been set. - */ - public abstract String extract_string() - throws BAD_OPERATION; - - /** - * Extract the CORBA unsigned <code>long</code> from this <code>Any</code> - * @throws BAD_OPERATION if this instance contains value other - * than unsigned <code>long</code> or the value has not been set. - */ - public abstract int extract_ulong() - throws BAD_OPERATION; - - /** - * Extract the CORBA unsigned <code>long long</code> from this - * <code>Any</code>. - * - * @throws BAD_OPERATION if this instance contains value other - * than unsigned <code>long long</code> or the value has not been set. - */ - public abstract long extract_ulonglong() - throws BAD_OPERATION; - - /** - * Extract the CORBA unsigned <code>short</code> from this <code>Any</code> - * @throws BAD_OPERATION if this instance contains value other - * than unsigned <code>short</code> or the value has not been set. - */ - public abstract short extract_ushort() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>wchar</code> from this <code>Any</code> - * @throws BAD_OPERATION if this instance contains value other - * than <code>wchar</code> or the value has not been set. - */ - public abstract char extract_wchar() - throws BAD_OPERATION; - - /** - * Extract the CORBA <code>wstring</code> from this <code>Any</code> - * @throws BAD_OPERATION if this instance contains value other - * than <code>wstring</code> or the value has not been set. - */ - public abstract String extract_wstring() - throws BAD_OPERATION; - - /** - * Insert the CORBA <code>Object</code> into this <code>Any</code> - */ - public abstract void insert_Object(org.omg.CORBA.Object x, TypeCode typecode); - - /** - * Insert the CORBA <code>Object</code> into this <code>Any</code> - */ - public abstract void insert_Object(org.omg.CORBA.Object x); - - /** - * Insert the CORBA <code>Principal</code> into this <code>Any</code>. - * @deprecated by CORBA 2.2. - */ - public void insert_Principal(Principal x) - { - throw new NO_IMPLEMENT(); - } - - /** - * Insert the CORBA <code>Streamable</code> into this <code>Any</code> - */ - public void insert_Streamable(org.omg.CORBA.portable.Streamable x) - { - throw new NO_IMPLEMENT(); - } - - /** - * Insert the CORBA <code>TypeCode</code> into this <code>Any</code> - * value field. - */ - public abstract void insert_TypeCode(TypeCode typecode); - - /** - * Insert the CORBA <code>Value</code> into this <code>Any</code>. - * - * The type of the Any should be set (by {@link #type(TypeCode)}) - * before inserting the value. - */ - public abstract void insert_Value(Serializable x, TypeCode typecode); - - /** - * Insert the CORBA <code>Value</code> into this <code>Any</code>. - * - * The type of the Any should be set (by {@link #type(TypeCode)}) - * before inserting the value. - */ - public abstract void insert_Value(Serializable x); - - /** - * Insert the CORBA <code>any</code> into this <code>Any</code> - */ - public abstract void insert_any(Any x); - - /** - * Insert the CORBA <code>boolean</code> into this <code>Any</code> - */ - public abstract void insert_boolean(boolean x); - - /** - * Insert the CORBA <code>char</code> into this <code>Any</code> - */ - public abstract void insert_char(char x); - - /** - * Insert the CORBA <code>double</code> into this <code>Any</code> - */ - public abstract void insert_double(double x); - - /** - * Insert the CORBA <code>fixed</code> into this <code>Any</code> - */ - public void insert_fixed(java.math.BigDecimal x, TypeCode typecode) - { - throw new NO_IMPLEMENT(); - } - - /** - * Insert the CORBA <code>fixed</code> into this <code>Any</code> - */ - public void insert_fixed(java.math.BigDecimal x) - { - throw new NO_IMPLEMENT(); - } - - /** - * Insert the CORBA <code>float</code> into this <code>Any</code> - */ - public abstract void insert_float(float x); - - /** - * Insert the CORBA <code>long</code> into this <code>Any</code> - */ - public abstract void insert_long(int x); - - /** - * Insert the CORBA <code>longlong</code> into this <code>Any</code> - */ - public abstract void insert_longlong(long x); - - /** - * Insert the CORBA <code>octet</code> into this <code>Any</code> - */ - public abstract void insert_octet(byte x); - - /** - * Insert the CORBA <code>short</code> into this <code>Any</code> - */ - public abstract void insert_short(short x); - - /** - * Insert the CORBA <code>string</code> into this <code>Any</code> - */ - public abstract void insert_string(String x); - - /** - * Insert the CORBA <code>ulong</code> into this <code>Any</code> - */ - public abstract void insert_ulong(int x); - - /** - * Insert the CORBA <code>ulonglong</code> into this <code>Any</code> - */ - public abstract void insert_ulonglong(long x); - - /** - * Insert the CORBA <code>ushort</code> into this <code>Any</code> - */ - public abstract void insert_ushort(short x); - - /** - * Insert the CORBA <code>wchar</code> into this <code>Any</code> - */ - public abstract void insert_wchar(char x); - - /** - * Insert the CORBA <code>wstring</code> into this <code>Any</code> - */ - public abstract void insert_wstring(String x); - - /** - * Read the value into this <code>Any</code> from the given input stream. - * - * @param input a CORBA stream to read from. - * @param type a TypeCode of the object being read. - * - * @throws org.omg.CORBA.MARSHAL if the given TypeCode does not match - * the TypeCode of the object, found in the stream. - */ - public abstract void read_value(org.omg.CORBA.portable.InputStream input, - TypeCode type - ) - throws MARSHAL; - - /** - * Set the type of the object, stored in this <code>Any</code>, to the - * given TypeCode. Clear the value. - * - * @param valueTypeCode the type of the object that is expected to be stored - * in this <code>any</code>. - */ - public abstract void type(TypeCode valueTypeCode); - - /** - * Returns the TypeCode of the object, stored in this <code>Any</code> - * @return the TypeCode - */ - public abstract TypeCode type(); - - /** - * Writes out the value (without the typecode of the value), stored in - * this <code>Any</code>. - * - * @param output the CORBA stream to write into. - * - * @throws NullPointerException if the value of this <code>Any</code> - * has not been set. - */ - public abstract void write_value(org.omg.CORBA.portable.OutputStream output); -} diff --git a/libjava/classpath/org/omg/CORBA/AnyHolder.java b/libjava/classpath/org/omg/CORBA/AnyHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/AnyHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/AnySeqHelper.java b/libjava/classpath/org/omg/CORBA/AnySeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/AnySeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/AnySeqHolder.java b/libjava/classpath/org/omg/CORBA/AnySeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/AnySeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BAD_CONTEXT.java b/libjava/classpath/org/omg/CORBA/BAD_CONTEXT.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BAD_CONTEXT.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BAD_INV_ORDER.java b/libjava/classpath/org/omg/CORBA/BAD_INV_ORDER.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BAD_INV_ORDER.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BAD_OPERATION.java b/libjava/classpath/org/omg/CORBA/BAD_OPERATION.java deleted file mode 100755 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BAD_OPERATION.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BAD_PARAM.java b/libjava/classpath/org/omg/CORBA/BAD_PARAM.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BAD_PARAM.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BAD_POLICY.java b/libjava/classpath/org/omg/CORBA/BAD_POLICY.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BAD_POLICY.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BAD_POLICY_TYPE.java b/libjava/classpath/org/omg/CORBA/BAD_POLICY_TYPE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BAD_POLICY_TYPE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BAD_POLICY_VALUE.java b/libjava/classpath/org/omg/CORBA/BAD_POLICY_VALUE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BAD_POLICY_VALUE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BAD_TYPECODE.java b/libjava/classpath/org/omg/CORBA/BAD_TYPECODE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BAD_TYPECODE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BooleanHolder.java b/libjava/classpath/org/omg/CORBA/BooleanHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BooleanHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BooleanSeqHelper.java b/libjava/classpath/org/omg/CORBA/BooleanSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BooleanSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/BooleanSeqHolder.java b/libjava/classpath/org/omg/CORBA/BooleanSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/BooleanSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/Bounds.java b/libjava/classpath/org/omg/CORBA/Bounds.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/Bounds.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ByteHolder.java b/libjava/classpath/org/omg/CORBA/ByteHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ByteHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/COMM_FAILURE.java b/libjava/classpath/org/omg/CORBA/COMM_FAILURE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/COMM_FAILURE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CTX_RESTRICT_SCOPE.java b/libjava/classpath/org/omg/CORBA/CTX_RESTRICT_SCOPE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CTX_RESTRICT_SCOPE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CharHolder.java b/libjava/classpath/org/omg/CORBA/CharHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CharHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CharSeqHelper.java b/libjava/classpath/org/omg/CORBA/CharSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CharSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CharSeqHolder.java b/libjava/classpath/org/omg/CORBA/CharSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CharSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CompletionStatus.java b/libjava/classpath/org/omg/CORBA/CompletionStatus.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CompletionStatus.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CompletionStatusHelper.java b/libjava/classpath/org/omg/CORBA/CompletionStatusHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CompletionStatusHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/Context.java b/libjava/classpath/org/omg/CORBA/Context.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/Context.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ContextList.java b/libjava/classpath/org/omg/CORBA/ContextList.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ContextList.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/Current.java b/libjava/classpath/org/omg/CORBA/Current.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/Current.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CurrentHelper.java b/libjava/classpath/org/omg/CORBA/CurrentHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CurrentHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CurrentHolder.java b/libjava/classpath/org/omg/CORBA/CurrentHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CurrentHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CurrentOperations.java b/libjava/classpath/org/omg/CORBA/CurrentOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CurrentOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CustomMarshal.java b/libjava/classpath/org/omg/CORBA/CustomMarshal.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CustomMarshal.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/CustomValue.java b/libjava/classpath/org/omg/CORBA/CustomValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/CustomValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DATA_CONVERSION.java b/libjava/classpath/org/omg/CORBA/DATA_CONVERSION.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DATA_CONVERSION.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DataInputStream.java b/libjava/classpath/org/omg/CORBA/DataInputStream.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DataInputStream.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DataOutputStream.java b/libjava/classpath/org/omg/CORBA/DataOutputStream.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DataOutputStream.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DefinitionKind.java b/libjava/classpath/org/omg/CORBA/DefinitionKind.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DefinitionKind.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DefinitionKindHelper.java b/libjava/classpath/org/omg/CORBA/DefinitionKindHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DefinitionKindHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DomainManager.java b/libjava/classpath/org/omg/CORBA/DomainManager.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DomainManager.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DomainManagerOperations.java b/libjava/classpath/org/omg/CORBA/DomainManagerOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DomainManagerOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DoubleHolder.java b/libjava/classpath/org/omg/CORBA/DoubleHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DoubleHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DoubleSeqHelper.java b/libjava/classpath/org/omg/CORBA/DoubleSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DoubleSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DoubleSeqHolder.java b/libjava/classpath/org/omg/CORBA/DoubleSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DoubleSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DynAny.java b/libjava/classpath/org/omg/CORBA/DynAny.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynAny.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DynAnyPackage/Invalid.java b/libjava/classpath/org/omg/CORBA/DynAnyPackage/Invalid.java deleted file mode 100644 index dc66bea654b..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynAnyPackage/Invalid.java +++ /dev/null @@ -1,78 +0,0 @@ -/* Invalid.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - - -package org.omg.CORBA.DynAnyPackage; - -import java.io.Serializable; - -import org.omg.CORBA.UserException; -import org.omg.CORBA.portable.IDLEntity; - -/** - * This exception is thrown by dynamic any operations when a bad DynAny or Any is passed as a parameter. - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) - */ -public class Invalid - extends UserException - implements Serializable, IDLEntity -{ - /** - * Use 1.4 version serialVersionUID for interoperability. - */ - private static final long serialVersionUID = -8258194490767575588L; - - /** - * Creates Invalid without explaining message. - */ - public Invalid() - { - super(); - } - - /** - * Created Invalid exception, providing the explaining message. - * - * @param reason the reason of throwing the exception. - */ - public Invalid(String reason) - { - super(reason); - } -} diff --git a/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidSeq.java b/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidSeq.java deleted file mode 100644 index ef0179e9da2..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidSeq.java +++ /dev/null @@ -1,77 +0,0 @@ -/* InvalidSeq.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA.DynAnyPackage; - -import java.io.Serializable; - -import org.omg.CORBA.UserException; -import org.omg.CORBA.portable.IDLEntity; - -/** - * This exception is thrown by by dynamic any operations when a bad <code>sequence</code> is passed as a parameter. - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) - */ -public class InvalidSeq - extends UserException - implements Serializable, IDLEntity -{ - /** - * Use 1.4 version serialVersionUID for interoperability. - */ - private static final long serialVersionUID = -5678460771857763522L; - - /** - * Creates InvalidSeq without explaining message. - */ - public InvalidSeq() - { - super(); - } - - /** - * Created InvalidSeq exception, providing the explaining message. - * - * @param reason the reason of throwing the exception. - */ - public InvalidSeq(String reason) - { - super(reason); - } -} diff --git a/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidValue.java b/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidValue.java deleted file mode 100644 index 0c5ddf96d46..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidValue.java +++ /dev/null @@ -1,77 +0,0 @@ -/* InvalidValue.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA.DynAnyPackage; - -import java.io.Serializable; - -import org.omg.CORBA.UserException; -import org.omg.CORBA.portable.IDLEntity; - -/** - * This expception in response to insert the inapproriate value into dynamic Any, usually by the DynAny.insert_*(value) method group. - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) - */ -public class InvalidValue - extends UserException - implements Serializable, IDLEntity -{ - /** - * Use 1.4 version serialVersionUID for interoperability. - */ - private static final long serialVersionUID = -4741963043279146697L; - - /** - * Creates InvalidValue without explaining message. - */ - public InvalidValue() - { - super(); - } - - /** - * Created InvalidValue exception, providing the explaining message. - * - * @param reason the reason of throwing the exception. - */ - public InvalidValue(String reason) - { - super(reason); - } -} diff --git a/libjava/classpath/org/omg/CORBA/DynAnyPackage/TypeMismatch.java b/libjava/classpath/org/omg/CORBA/DynAnyPackage/TypeMismatch.java deleted file mode 100644 index f4e9877c505..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynAnyPackage/TypeMismatch.java +++ /dev/null @@ -1,77 +0,0 @@ -/* TypeMismatch.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA.DynAnyPackage; - -import java.io.Serializable; - -import org.omg.CORBA.UserException; -import org.omg.CORBA.portable.IDLEntity; - -/** - * This exception is thrown by dynamic any accessor methods when type of the actual contents do not match what is trying to be accessed. - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) - */ -public class TypeMismatch - extends UserException - implements Serializable, IDLEntity -{ - /** - * Use 1.4 version serialVersionUID for interoperability. - */ - private static final long serialVersionUID = 2763424591181102501L; - - /** - * Creates TypeMismatch without explaining message. - */ - public TypeMismatch() - { - super(); - } - - /** - * Created TypeMismatch exception, providing the explaining message. - * - * @param reason the reason of throwing the exception. - */ - public TypeMismatch(String reason) - { - super(reason); - } -} diff --git a/libjava/classpath/org/omg/CORBA/DynAnyPackage/package.html b/libjava/classpath/org/omg/CORBA/DynAnyPackage/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynAnyPackage/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DynArray.java b/libjava/classpath/org/omg/CORBA/DynArray.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynArray.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DynEnum.java b/libjava/classpath/org/omg/CORBA/DynEnum.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynEnum.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DynFixed.java b/libjava/classpath/org/omg/CORBA/DynFixed.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynFixed.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DynSequence.java b/libjava/classpath/org/omg/CORBA/DynSequence.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynSequence.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DynStruct.java b/libjava/classpath/org/omg/CORBA/DynStruct.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynStruct.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DynUnion.java b/libjava/classpath/org/omg/CORBA/DynUnion.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynUnion.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DynValue.java b/libjava/classpath/org/omg/CORBA/DynValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/DynamicImplementation.java b/libjava/classpath/org/omg/CORBA/DynamicImplementation.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/DynamicImplementation.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/Environment.java b/libjava/classpath/org/omg/CORBA/Environment.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/Environment.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ExceptionList.java b/libjava/classpath/org/omg/CORBA/ExceptionList.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ExceptionList.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/FREE_MEM.java b/libjava/classpath/org/omg/CORBA/FREE_MEM.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/FREE_MEM.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/FieldNameHelper.java b/libjava/classpath/org/omg/CORBA/FieldNameHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/FieldNameHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/FixedHolder.java b/libjava/classpath/org/omg/CORBA/FixedHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/FixedHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/FloatHolder.java b/libjava/classpath/org/omg/CORBA/FloatHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/FloatHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/FloatSeqHelper.java b/libjava/classpath/org/omg/CORBA/FloatSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/FloatSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/FloatSeqHolder.java b/libjava/classpath/org/omg/CORBA/FloatSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/FloatSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/IDLEntity.java b/libjava/classpath/org/omg/CORBA/IDLEntity.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/IDLEntity.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/IDLType.java b/libjava/classpath/org/omg/CORBA/IDLType.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/IDLType.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/IDLTypeHelper.java b/libjava/classpath/org/omg/CORBA/IDLTypeHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/IDLTypeHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/IDLTypeOperations.java b/libjava/classpath/org/omg/CORBA/IDLTypeOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/IDLTypeOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/IMP_LIMIT.java b/libjava/classpath/org/omg/CORBA/IMP_LIMIT.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/IMP_LIMIT.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/INITIALIZE.java b/libjava/classpath/org/omg/CORBA/INITIALIZE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/INITIALIZE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/INTERNAL.java b/libjava/classpath/org/omg/CORBA/INTERNAL.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/INTERNAL.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/INTF_REPOS.java b/libjava/classpath/org/omg/CORBA/INTF_REPOS.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/INTF_REPOS.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/INVALID_TRANSACTION.java b/libjava/classpath/org/omg/CORBA/INVALID_TRANSACTION.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/INVALID_TRANSACTION.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/INV_FLAG.java b/libjava/classpath/org/omg/CORBA/INV_FLAG.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/INV_FLAG.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/INV_IDENT.java b/libjava/classpath/org/omg/CORBA/INV_IDENT.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/INV_IDENT.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/INV_OBJREF.java b/libjava/classpath/org/omg/CORBA/INV_OBJREF.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/INV_OBJREF.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/INV_POLICY.java b/libjava/classpath/org/omg/CORBA/INV_POLICY.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/INV_POLICY.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/IRObject.java b/libjava/classpath/org/omg/CORBA/IRObject.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/IRObject.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/IRObjectOperations.java b/libjava/classpath/org/omg/CORBA/IRObjectOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/IRObjectOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/IdentifierHelper.java b/libjava/classpath/org/omg/CORBA/IdentifierHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/IdentifierHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/IntHolder.java b/libjava/classpath/org/omg/CORBA/IntHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/IntHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/LocalObject.java b/libjava/classpath/org/omg/CORBA/LocalObject.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/LocalObject.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/LongHolder.java b/libjava/classpath/org/omg/CORBA/LongHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/LongHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/LongLongSeqHelper.java b/libjava/classpath/org/omg/CORBA/LongLongSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/LongLongSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/LongLongSeqHolder.java b/libjava/classpath/org/omg/CORBA/LongLongSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/LongLongSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/LongSeqHelper.java b/libjava/classpath/org/omg/CORBA/LongSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/LongSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/LongSeqHolder.java b/libjava/classpath/org/omg/CORBA/LongSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/LongSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/MARSHAL.java b/libjava/classpath/org/omg/CORBA/MARSHAL.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/MARSHAL.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/NO_IMPLEMENT.java b/libjava/classpath/org/omg/CORBA/NO_IMPLEMENT.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/NO_IMPLEMENT.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/NO_MEMORY.java b/libjava/classpath/org/omg/CORBA/NO_MEMORY.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/NO_MEMORY.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/NO_PERMISSION.java b/libjava/classpath/org/omg/CORBA/NO_PERMISSION.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/NO_PERMISSION.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/NO_RESOURCES.java b/libjava/classpath/org/omg/CORBA/NO_RESOURCES.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/NO_RESOURCES.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/NO_RESPONSE.java b/libjava/classpath/org/omg/CORBA/NO_RESPONSE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/NO_RESPONSE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/NVList.java b/libjava/classpath/org/omg/CORBA/NVList.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/NVList.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/NameValuePair.java b/libjava/classpath/org/omg/CORBA/NameValuePair.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/NameValuePair.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/NameValuePairHelper.java b/libjava/classpath/org/omg/CORBA/NameValuePairHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/NameValuePairHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/NamedValue.java b/libjava/classpath/org/omg/CORBA/NamedValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/NamedValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/OBJECT_NOT_EXIST.java b/libjava/classpath/org/omg/CORBA/OBJECT_NOT_EXIST.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/OBJECT_NOT_EXIST.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/OBJ_ADAPTER.java b/libjava/classpath/org/omg/CORBA/OBJ_ADAPTER.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/OBJ_ADAPTER.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/OMGVMCID.java b/libjava/classpath/org/omg/CORBA/OMGVMCID.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/OMGVMCID.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ORB.java b/libjava/classpath/org/omg/CORBA/ORB.java deleted file mode 100644 index 9163736eb97..00000000000 --- a/libjava/classpath/org/omg/CORBA/ORB.java +++ /dev/null @@ -1,1200 +0,0 @@ -/* ORB.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA; - -import gnu.CORBA.Restricted_ORB; -import gnu.CORBA.fixedTypeCode; -import gnu.CORBA.generalTypeCode; -import gnu.CORBA.gnuContext; -import gnu.CORBA.primitiveTypeCode; -import gnu.CORBA.recordTypeCode; -import gnu.CORBA.recursiveTypeCode; - -import org.omg.CORBA.ORBPackage.InconsistentTypeCode; - -import java.applet.Applet; - -import java.io.BufferedInputStream; -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; - -import java.util.Properties; - -/** - * A central class in CORBA implementation, responsible for sending and - * handling remote invocations. ORB also works as a factory for - * creating instances of certain CORBA classes. - * - * Despite the core library contains the fully working CORBA implementation, - * it also provides a simple way to plug-in the alternative CORBA support. - * This is done by replacing the ORB. The alternative ORB can be specified - * via properties, passed to ORB.Init(...). - * - * When creating an ORB instance, the class name - * is searched in the following locations: - * <p> - * 1. Applet parameter or application string array, if any.<br> - * 2. The properties parameter, if any.<br> - * 3. The System properties.<br> - * 4. The orb.properties file located in the user.home directory (if any).<br> - * 5. The orb.properties file located in the java.home/lib directory (if any). - * </p> - * - * The supported properties are: - * <table border="1"> - * <tr><td> org.omg.CORBA.ORBClass</td><td>The class, - * implementing the functional ORB, returned by - * {@link #init(Applet, Properties)} or - * {@link #init(String[], Properties)} </td></tr> - * <tr><td>org.omg.CORBA.ORBSingletonClass</td><td>The class, - * implementing the restricted ORB, returned by - * {@link #init()}. - * </td></tr> - * <tr><td>org.omg.CORBA.ORBInitRef</td><td>Specifies the - * initial reference, accessible by name with the method - * {@link resolve_initial_references(String)}. - * </table> - * The command line accepts the same properties as a keys. When specifying - * in the command line, the prefix org.omg.CORBA can be omitted, - * for instance<code> -ORBInitRef NameService=IOR:aabbccdd....</code> - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) - */ -public abstract class ORB -{ - /** - * By default, {@link init(String[], Properties)} and - * {@link init(Applet, Properties} return - * the built-in fully functional ORB is returned. If the - * <code>props</code> contains the property org.omg.CORBA.ORBClass, - * the value of this property is used as a class name to instantiate - * a user-defined ORB. - */ - private static final String FUNCTIONAL_ORB = "org.omg.CORBA.ORBClass"; - - /** - * The name of the restricted ORB property. - */ - private static final String RESTRICTED_ORB = - "org.omg.CORBA.ORBSingletonClass"; - - /** - * The class, implementing the default fully functional ORB. - */ - private static final String DEFAULT_FUNCTIONAL_ORB = - gnu.CORBA.Poa.ORB_1_4.class.getName(); - - /** - * The class, implementing the default restricted ORB. - */ - private static final String DEFAULT_RESTRICTED_ORB = - gnu.CORBA.Restricted_ORB.class.getName(); - - /** - * Connect the given CORBA object to this ORB. After the object is - * connected, it starts receiving remote invocations via this ORB. - * - * The OMG group recommends to use Portable Object Adapter (POA) instead - * of calling this method. - * - * This method is implemented in the derived Gnu Classpah classes, - * returned by ORB.init(..). In this abstract class, the implementation - * just throws {@link NO_IMPLEMENT}. - * - * @param object the org.omg.CORBA.Object to connect. - */ - public void connect(org.omg.CORBA.Object object) - { - throw new NO_IMPLEMENT(); - } - - /** - * Disconnect the given CORBA object from this ORB. The object will be - * no longer receiving the remote invocations. In response to the - * remote invocation on this object, the ORB will send the - * exception {@link OBJECT_NOT_EXIST}. The object, however, is not - * destroyed and can receive the local invocations. - * - * This method is implemented in the derived Gnu Classpah classes, - * returned by ORB.init(..). In this abstract class, the implementation - * just throws {@link NO_IMPLEMENT}. - * - * @param object the object to disconnect. - */ - public void disconnect(org.omg.CORBA.Object object) - { - throw new NO_IMPLEMENT(); - } - - /** - * Create alias typecode for the given typecode. - */ - public abstract TypeCode create_alias_tc(String id, String name, - TypeCode typecode - ); - - /** - * Create an instance of the CORBA {@link Any} with the type, intialised - * to {@link TCKind#tc_null} - */ - public abstract Any create_any(); - - /** - * Create a typecode, defining an array of the given elements. - * - * @param length the size of array - * @param element_type the array component type. - * - * @return the corresponding typecode. - */ - public abstract TypeCode create_array_tc(int length, TypeCode element_type); - - /** - * Creates an empty CORBA <code>ContextList</code>. - * - * @return the newly created context list. - */ - public abstract ContextList create_context_list(); - - /** - * The support for {@link DynAny} and derived interfaces - * has never been implemented in Sun's java releases, - * at least till v1.4 inclusive. - * - * Since v1.4 this stil missing implementation was replaced - * by the new DynamicAny package. - * - * @throws NO_IMPLEMENT, always. - */ - public DynAny create_basic_dyn_any(org.omg.CORBA.TypeCode t) - throws InconsistentTypeCode - { - throw new NO_IMPLEMENT(); - } - ; - - /** - * The support for {@link DynAny} and derived interfaces - * has never been implemented in Sun's java releases, - * at least till v1.4 inclusive. - * - * Since v1.4 this stil missing implementation was replaced - * by the new DynamicAny package. - * - * @throws NO_IMPLEMENT, always. - */ - public DynAny create_dyn_any(org.omg.CORBA.Any a) - { - throw new NO_IMPLEMENT(); - } - ; - - /** - * The support for {@link DynArray} - * has never been implemented in Sun's java releases, - * at least till v1.4 inclusive. - * - * Since v1.4 this stil missing implementation was replaced - * by the new DynamicAny package. - * - * @throws NO_IMPLEMENT, always. - */ - public DynArray create_dyn_array(org.omg.CORBA.TypeCode t) - throws InconsistentTypeCode - { - throw new NO_IMPLEMENT(); - } - ; - - /** - * The support for {@link DynEnum} - * has never been implemented in Sun's java releases, - * at least till v1.4 inclusive. - * - * Since v1.4 this stil missing implementation was replaced - * by the new DynamicAny package. - * - * @throws NO_IMPLEMENT, always. - */ - public DynEnum create_dyn_enum(org.omg.CORBA.TypeCode t) - throws InconsistentTypeCode - { - throw new NO_IMPLEMENT(); - } - ; - - /** - * The support for {@link DynSequence} - * has never been implemented in Sun's java releases, - * at least till v1.4 inclusive. - * - * Since v1.4 this stil missing implementation was replaced - * by the new DynamicAny package. - * - * @throws NO_IMPLEMENT, always. - */ - public DynSequence create_dyn_sequence(org.omg.CORBA.TypeCode t) - throws InconsistentTypeCode - { - throw new NO_IMPLEMENT(); - } - ; - - /** - * The support for {@link DynStruct} and derived interfaces - * has never been implemented in Sun's java releases, - * at least till v1.4 inclusive. - * - * Since v1.4 this stil missing implementation was replaced - * by the new DynamicAny package. - * - * @throws NO_IMPLEMENT, always. - */ - public DynStruct create_dyn_struct(org.omg.CORBA.TypeCode t) - throws InconsistentTypeCode - { - throw new NO_IMPLEMENT(); - } - ; - - /** - * The support for {@link DynUnion} and derived interfaces - * has never been implemented in Sun's java releases, - * at least till v1.4 inclusive. - * - * Since v1.4 this stil missing implementation was replaced - * by the new DynamicAny package. - * - * @throws NO_IMPLEMENT, always. - */ - public DynUnion create_dyn_union(org.omg.CORBA.TypeCode t) - throws InconsistentTypeCode - { - throw new NO_IMPLEMENT(); - } - ; - - /** - * Create a typecode, defining the given enumeration. - * - * @param id the id. - * @param name the name. - * @param members the memebers - * @return the created enumeration. - */ - public abstract TypeCode create_enum_tc(String id, String name, - String[] members - ); - - /** - * Create an environment (container for exceptions). - * - * @return the created container. - */ - public abstract Environment create_environment(); - - /** - * Creates an empty exception list. - * - * @return the newly created list. - */ - public abstract ExceptionList create_exception_list(); - - /** - * Create the exception typecode. - * - * @param id the id of exception. - * @param name the name of exception. - * @param members the members of exception. - */ - public abstract TypeCode create_exception_tc(String id, String name, - StructMember[] members - ); - - /** - * Creates a TypeCode object for CORBA <code>fixed</code> that is - * mapped to java {@link java.math.BigDecimal}. - * - * @param digits the number of digits in that <code>fixed</code>. - * @param scale the number of digits after the decimal point. - * - * @return the corresponding TypeCode. - */ - public TypeCode create_fixed_tc(short digits, short scale) - { - fixedTypeCode r = new fixedTypeCode(); - r.setDigits(digits); - r.setScale(scale); - return r; - } - - /** - * Creates a typecode, representing the IDL interface. - * - * @param id the interface repository id. - * @param name the interface name. - * - * @return the created typecode. - */ - public abstract TypeCode create_interface_tc(String id, String name); - - /** - * Create an instance of a new {@link NVList}. - * - * @param count the initial size of the list. If more elements are added, - * the list automatically expands. - * - * @return the created list. - */ - public abstract NVList create_list(int count); - - /** - * Create a new named value. - * - * @param name the name of the named value - * @param any the content of the named value. - * @param flags the flags of the named value - * - * @return the named value. - */ - public abstract NamedValue create_named_value(String s, Any any, int flags); - - /** - * Send multiple prepared requests one way, do not caring about the answer. - * The messages, containing requests, will be marked, indicating that - * the sender is not expecting to get a reply. - * - * @param requests the prepared array of requests. - * - * @see Request#send_oneway() - */ - public abstract void send_multiple_requests_oneway(Request[] requests); - - /** - * Send multiple prepared requests expecting to get a reply. All requests - * are send in parallel, each in its own separate thread. When the - * reply arrives, it is stored in the agreed fields of the corresponing - * request data structure. If this method is called repeatedly, - * the new requests are added to the set of the currently sent requests, - * but the old set is not discarded. - * - * @param requests the prepared array of requests. - * - * @see #poll_next_response() - * @see #get_next_response() - * @see Request#send_deferred() - */ - public abstract void send_multiple_requests_deferred(Request[] requests); - - /** - * Find if any of the requests that have been previously sent with - * {@link #send_multiple_requests_deferred}, have a response yet. - * - * @return true if there is at least one response to the previously - * sent request, false otherwise. - */ - public abstract boolean poll_next_response(); - - /** - * Get the next instance with a response being received. If all currently - * sent responses not yet processed, this method pauses till at least one of - * them is complete. If there are no requests currently sent, the method - * pauses till some request is submitted and the response is received. - * This strategy is identical to the one accepted by Suns 1.4 ORB - * implementation. - * - * @return the previously sent request that now contains the received - * response. - * - * @throws WrongTransaction If the method was called from the transaction - * scope different than the one, used to send the request. The exception - * can be raised only if the request is implicitly associated with some - * particular transaction. - */ - public abstract Request get_next_response() - throws WrongTransaction; - - /** - * Create a new CDR output stream, where the parameter values can be written - * during the method invocation. - * - * @return a stream to write values into. - */ - public abstract org.omg.CORBA.portable.OutputStream create_output_stream(); - - /** - * This should create the list, initialised with the argument descriptions - * for the given operation definition (CORBA <code>OperationDef</code>). - * The information should be obtained from the interface repository. - * However this method is oficially documented as not implemented at least - * till v1.4 inclusive. - * - * @param peration_definition the operation definition, must be - * CORBA <code>OperationDef</code>. - * - * @return never - * - * @throws NO_IMPLEMENT, always. - */ - public NVList create_operation_list(Object operation_definition) - { - throw new NO_IMPLEMENT(); - } - - /** - * <p>Creates the new policy of the specified type, having the given value. - * This method looks for the policy factory that was previously registered - * during ORB initialization by - * {@link org.omg.PortableInterceptor.ORBInitialiser}. - * - * If the suitable factory is found, this factory creates the requested policy, - * otherwise the PolicyError is thrown. - * </p><p> - * The POA policies should be created by POA, not by this method. - * </p> - * @param type the policy type. - * @param value the policy value, wrapped into Any. - * - * @throws PolicyError if the ORB fails to instantiate the policy object. - * - * @throws NO_IMPLEMENT always (in this class). Overridden in derived classes - * returned by ORB.init(..). - * - * @see org.omg.PortableInterceptor.ORBInitInfoOperations#register_policy_factory - * @see org.omg.PortableInterceptor.PolicyFactoryOperations - */ - public Policy create_policy(int type, Any value) - throws PolicyError - { - throw new NO_IMPLEMENT(); - } - - /** - * Create typecode, defining the sequence of the elements, having - * the given type. - * - * @param bound the maximal length of the sequence, 0 if not restricted. - * - * @param element_type the sequence element type. - * - * @return the typecode. - */ - public abstract TypeCode create_sequence_tc(int bound, TypeCode element_type); - - /** - * Create a TypeCode, representing the CORBA <code>string</code>. - * - * @param bound the maximal length of the string, 0 is unlimited. - * - * @return the corresponding string typecode. - */ - public abstract TypeCode create_string_tc(int bound); - - /** - * Create the typecode, defining the given IDL structure. - * - * The TypeCode object is initialized with the given id, name, and members. - * @param id the Id of this type. - * @param the name of this type. - * @param members the member list. - * - * @return the typecode. - */ - public abstract TypeCode create_struct_tc(String id, String name, - StructMember[] members - ); - - /** - * Create the typecode, defining the given IDL union. - * - * The TypeCode object is initialized with the given id, name, discriminator - * and members. - * - * @param id the Id of this type. - * @param the name of this type. - * @param discriminator the union discriminator. - * @param members the member list. - * - * @return the typecode. - */ - public abstract TypeCode create_union_tc(String id, String name, - TypeCode discriminator, - UnionMember[] members - ); - - /** - * Create a TypeCode, representing the CORBA <code>wstring</code>. - * - * @param bound the maximal length of the string, 0 is unlimited. - * - * @return the corresponding string typecode. - */ - public abstract TypeCode create_wstring_tc(int bound); - - /** - * Create a typecode for an abstract interface. The abstract interface - * can be either CORBA object or CORBA value type. - * - * @param id the id of the abstract interface. - * @param name the name of the abstract interface. - * - * @return the created typecode. - */ - public TypeCode create_abstract_interface_tc(String id, String name) - { - generalTypeCode t = new generalTypeCode(TCKind.tk_abstract_interface); - t.setName(name); - t.setId(id); - return t; - } - - /** - * Create a typecode for a native interface. - * - * @param id the id of the native interface. - * @param name the name of the native interface. - * - * @return the created typecode. - */ - public TypeCode create_native_tc(String id, String name) - { - generalTypeCode t = new generalTypeCode(TCKind.tk_native); - t.setName(name); - t.setId(id); - return t; - } - - /** - * Create a typecode, representing a tree-like structure. - * This structure contains a member that is a sequence of the same type, - * as the structure itself. You can imagine as if the folder definition - * contains a variable-length array of the enclosed (nested) folder - * definitions. In this way, it is possible to have a tree like - * structure that can be transferred via CORBA CDR stream. - * - * @deprecated It is easier and clearler to use a combination of - * create_recursive_tc and create_sequence_tc instead. - * - * @param bound the maximal expected number of the nested components - * on each node; 0 if not limited. - * - * @param offset the position of the field in the returned structure - * that contains the sequence of the structures of the same field. - * The members before this field are intialised using parameterless - * StructMember constructor. - * - * @return a typecode, defining a stucture, where a member at the - * <code>offset</code> position defines an array of the identical - * structures. - * - * @see #create_recursive_tc(String) - * @see #create_sequence_tc(int, TypeCode) - */ - public TypeCode create_recursive_sequence_tc(int bound, int offset) - { - recordTypeCode r = new recordTypeCode(TCKind.tk_struct); - for (int i = 0; i < offset; i++) - r.add(new StructMember()); - - TypeCode recurs = new primitiveTypeCode(TCKind.tk_sequence); - - r.add(new StructMember("", recurs, null)); - return r; - } - - /** - * Create a typecode which serves as a placeholder for typcode, containing - * recursion. - * - * @param id the id of the recursive typecode, for that this typecode - * serves as a placeholder. - */ - public TypeCode create_recursive_tc(String id) - { - return new recursiveTypeCode(id); - } - - /** - * Create value box typecode. - */ - public TypeCode create_value_box_tc(String id, String name, - TypeCode boxed_type - ) - { - generalTypeCode t = new generalTypeCode(TCKind.tk_value_box); - t.setName(name); - t.setId(id); - t.setContentType(boxed_type); - return t; - } - - /** - * Create IDL value type code. - */ - public TypeCode create_value_tc(String id, String name, short type_modifier, - TypeCode concrete_base, ValueMember[] members - ) - { - recordTypeCode r = new recordTypeCode(TCKind.tk_value); - r.setId(id); - r.setName(name); - r.setTypeModifier(type_modifier); - r.setConcreteBase_type(concrete_base); - - for (int i = 0; i < members.length; i++) - { - r.add(members [ i ]); - } - - return r; - } - - /** - * This should return the information, related to the current thread. - * The information is needed, for instance, to get the current object - * from the code that serves several objects in parallel threads. - * The {@link Current} is very general interface, with no fields and - * operations defined. This method is not implemented in Suns - * releases at least till v1.5 inclusive. To obtain the - * {@link org.omg.PortableServer.Current}, use - * {@link #resolve_initial_references}, passing "POACurrent". - * - * @deprecated since 1.2, use {@link #resolve_initial_references}. - * - * @return never - * - * @throws NO_IMPLEMENT always. - */ - public Current get_current() - { - throw new NO_IMPLEMENT(); - } - - /** - * This should return the information about the CORBA facilities and - * services, available from this ORB. However this method is oficially - * documented as not implemented at least till v1.5 inclusive. - * - * @param service_type a type of the service being requested. The OMG - * specification currently defines only one value, 1, for security - * related services. - * - * @param service_info a holder, where the returned information should - * be stored. - * - * @return should return true if the service information is available - * from the ORB, but this method never returns. - * - * @throws NO_IMPLEMENT always. - */ - public boolean get_service_information(short service_type, - ServiceInformationHolder service_info - ) - { - throw new NO_IMPLEMENT(); - } - - /** - * Get the default context of this ORB. This is an initial root of all - * contexts. - * - * The default method returns a new context with the empty name and - * no parent context. - * - * @return the default context of this ORB. - * - * @throws NO_IMPLEMENT for the Singleton ORB, returned by - * the parameterless {@link init()}. - */ - public Context get_default_context() - { - return new gnuContext("", null); - } - - /** - * Return thg typecode, representing the given primitive object type. - * - * @param the kind of the primitive typecode. - * - * @return the typecode of the primitve typecode. - */ - public abstract TypeCode get_primitive_tc(TCKind tcKind); - - /** - * Returns so-called Singleton ORB, a highly restricted version - * that cannot communicate over network. This ORB is provided - * for the potentially malicious applets with heavy security restrictions. - * - * The returned Singleton ORB can only create typecodes, - * {@link Any}, {@link ContextList}, {@link NVList} and - * {@link org.omg.CORBA.portable.OutputStream} that writes to an - * internal buffer. - * - * All other methods throw the {@link NO_IMPLEMENT} exception, additionally - * printing the error message about the potential attempt to violate - * the security rules. - * - * The implementing ORB class, used in this method, is found as described - * in the header. - * - * @return the working derivative of ORB, implementing the methods - * of this abstract class. - */ - public static ORB init() - { - String orb_cn = getORBName(null, RESTRICTED_ORB); - if (orb_cn == null) - return Restricted_ORB.Singleton; - else - return createORB(null, orb_cn); - } - - /** - * Creates the working instance of ORB for an applet. - * - * By default the built-in fully functional ORB is returned. The ORB class - * is found as described in the header of this class. - * - * @param applet the applet. The property org.omg.CORBA.ORBClass, - * if present, defines the used ORB implementation class. If this - * property is not present, the ORB class is found as described in the - * class header. - * - * @param props the properties, may be <code>null</code>. - * - * @return a newly created functional derivative of this abstract class. - */ - public static ORB init(Applet applet, Properties props) - { - String ocn = applet.getParameter(FUNCTIONAL_ORB); - ORB orb = createORB(props, ocn); - orb.set_parameters(applet, props); - - return orb; - } - - /** - * Creates the working instance of ORB for a - * standalone application. - * - * By default the built-in fully functional ORB is returned. The ORB class - * is found as described in the header of this class. - * - * @param the parameters, passed to the applications - * <code>main(String[] args)</code> method, may be <code>null</code>. - * The parameter -org.omg.CORBA.ORBClass <class name> - * if present, defines the used ORB implementation class. If this - * property is not present, the ORB class is found as described in the - * class header. - - * - * @param props application specific properties, may be <code>null</code>. - * - * @return a newly created functional derivative of this abstract class. - */ - public static ORB init(String[] args, Properties props) - { - String ocn = null; - - String orbKey = "-" + FUNCTIONAL_ORB; - - if (args != null) - if (args.length >= 2) - { - for (int i = 0; i < args.length - 1; i++) - { - if (args [ i ].equals(orbKey)) - ocn = args [ i + 1 ]; - } - } - - ORB orb = createORB(props, ocn); - - orb.set_parameters(args, props); - return orb; - } - - /** - * List the initially available CORBA objects (services). - * - * @return a list of services. - * - * @see resolve_initial_references(String) - */ - public abstract String[] list_initial_services(); - - /** - * Find and return the easily accessible CORBA object, addressed - * by name. The returned object is typically casted to the more - * specific reference using the <code>narrow(Object)</code> method - * of its helper. The method resolves the following string values, - * returning the working objects: - * <table border="1"><tr><th>String</th><th>Object class</th> - * <th>Object use</th></tr> - * - * <tr><td>NameService</td><td>{@link org.omg.CosNaming.NamingContextExt}</td> - * <td>Finds (usually remote) object by its name.</td></tr> - * - * <tr><td>RootPOA</td><td>{@link org.omg.PortableServer.POA}</td> - * <td>Holds the POA tree for this ORB, where since 1.4 all servants - * should be connected.</td></tr> - * - * <tr><td>RootPOAManager</td><td>{@link org.omg.PortableServer.POAManager} - * </td><td>Regulates (suspends/resumes) the root POA - * activity</td></tr> - * - * <tr><td>POACurrent</td><td>{@link org.omg.PortableServer.Current} - * </td><td>Informs the current thread about the Id and POA of the - * object being currently served (the methods of - * <code>Current</code> return different values for - * different threads). - * </td></tr> - * - * <tr><td>CodecFactory</td><td>{@link org.omg.IOP.Codec}</td> - * <td>Encodes/decodes IDL data types into/from byte arrays.</td> - * </tr> - * - * <tr><td>DynAnyFactory</td><td>{@link org.omg.DynamicAny.DynAnyFactory}</td> - * <td>Creates DynAny's.</td> - * </tr> - * - * <tr><td>PICurrent</td><td>{@link org.omg.PortableInterceptor.Current}</td> - * <td>Contains multiple slots where an interceptor can rememeber the - * request - specific values between subsequent - * calls of the interceptor methods.</td> - * </tr> - * - * </table> - * - * @param name the object name. - * @return the object - * @throws org.omg.CORBA.ORBPackage.InvalidName if the given name - * is not associated with the known object. - */ - public abstract Object resolve_initial_references(String name) - throws org.omg.CORBA.ORBPackage.InvalidName; - - /** - * Get the IOR reference string for the given object. - * IOR can be compared with the Internet address for a web page, - * it provides means to locate the CORBA service on the web. - * IOR contains the host address, port number, the object identifier - * (key) inside the server, the communication protocol version, - * supported charsets and so on. - * - * @param the CORBA object - * @return the object IOR representation. - * @see string_to_object(String) - */ - public abstract String object_to_string(Object forObject); - - /** - * This should perform the implementation dependent unit of work in the - * main thread. - * - * This method is part of the support for the distribute use of the - * single execution thread. - * - * Same as in Suns releases at least till 1.4 inclusive, - * the distribute use of the single thread is not implemented. - * Use multiple threads, provided by jre. - * - * The method returns without action. - */ - public void perform_work() - { - } - - /** - * Checks if the ORB needs the main thread to perform some work. - * The method should return true if the ORB needs the main thread, - * and false if it does not. - * - * This method is part of the support for the distribute use of the - * single execution thread. - * - * Same as in Suns releases at least till 1.4 inclusive, - * the distributed use of the single thread is not implemented. - * Use multiple threads, provided by jre. - * - * @return false, always. - */ - public boolean work_pending() - { - return false; - } - - /** - * <p>Find and return the CORBA object, addressed by the given - * string representation. The object can be (an usually is) - * located on a remote computer, possibly running a different - * (not necessary java) CORBA implementation. The returned - * object is typically casted to the more specific reference - * using the <code>narrow(Object)</code> method of its helper. - * </p><p> - * This function supports the following input formats:<br> - * 1. IOR reference (<b>ior:</b>nnnnn ..), usually computer generated.<br> - * 2. <b>corbaloc:</b>[<b>iiop</b>][version.subversion<b>@</b>]<b>:</b>host[<b>:</b>port]<b>/</b><i>key</i> - * defines similar information as IOR reference, but is more human readable. - * This type of reference may also contain multiple addresses (see - * OMG documentation for complete format).<br> - * 3. <b>corbaloc:rir:/</b><i>name</i> defines internal reference on this - * ORB that is resolved using {@link #resolve_initial_references}, passing - * the given <i>name</i> as parameter.<br> - * 4. <b>corbaname:rir:#</b><i>name</i> states that the given <i>name</i> - * must be resolved using the naming service, default for this ORB.<br> - * 5. <b>corbaname:</b>[<b>iiop</b>][version.subversion<b>@</b>]<b>:</b>host[<b>:</b>port]<b>#</b><i>name</i> - * states that the <i>name</i> must be resolved using the naming service - * that runs on the given host at the given port. The ORB expects to find - * there the {@link org.omg.CosNaming.NamingContext} under the key - * "NameService.<br> - * - * <p>The default port is always 2809. The default iiop version is 1.0 - * that now may not always be supported, so we would recommend to specify - * the version explicitly.</p> - * <p> - * The examples of the corbaloc and corbaname addresses:<br> - * corbaname:rir:#xobj - ask local naming service for "xobj".<br> - * corbaname:rir:/NameService#xobj - same (long form).<br> - * corbaname:iiop:1.2@localhost:900#xobj - same, assuming that the naming - * service runs at port 900 on the local host and supports iiop 1.2.<br> - * corbaname:iiop:localhost#xobj - same, assuming that the naming - * service runs at port 2809 on the local host and supports iiop 1.0.<br> - * corbaloc::gnu.xxx.yy/Prod/TradingService - the object exists on the - * host gnu.xxx.yy, port 2809 having the key "Prod/TradingService". Its ORB - * supports iiop 1.0.<br> - * corbaloc::gnu.xxx.yy/Prod/TradingService:801 - the object exists on the - * host gnu.xxx.yy, port 801 having the key "Prod/TradingService". Its ORB - * supports iiop 1.0 (iiop keyword ommitted).<br> - * corbaloc:iiop:1.1@gnu.xxx.yy/Prod/TradingService - the object exists on the - * host gnu.xxx.yy, port 801 having the key "Prod/TradingService". Its ORB - * supports iiop 1.1.<br> - * corbaloc:rir:/NameService - the default naming service. - * - * @param IOR the object IOR representation string. - * - * @return the found CORBA object. - * - * @throws BAD_PARAM if the string being parsed is invalid. - * @throws DATA_CONVERSION if the string being parsed contains unsupported - * prefix or protocol. - * - * @see object_to_string(org.omg.CORBA.Object) - */ - public abstract Object string_to_object(String IOR); - - /** - * Start listening on the input socket. This method - * blocks the current thread until {@link #shutdown(boolean)} - * is called and shutdown process is completed. - */ - public void run() - { - } - - /** - * Shutdown the ORB server. - * - * @param wait_for_completion if true, the current thread is - * suspended untile the shutdown process is complete. - */ - public void shutdown(boolean wait_for_completion) - { - } - - /** - * Destroy this server, releasing the occupied resources. - * The default method returns without action. - */ - public void destroy() - { - } - - /** - * Set the ORB parameters. This method is normally called from - * {@link #init(String[], Properties)}. - * - * @param para the parameters, that were passed as the parameters - * to the <code>main(String[] args)</code> method of the current standalone - * application. - * - * @param props application specific properties that were passed - * as a second parameter in {@link init(String[], Properties)}). - * Can be <code>null</code>. - */ - protected abstract void set_parameters(String[] para, Properties props); - - /** - * Set the ORB parameters. This method is normally called from - * {@link #init(Applet, Properties)}. - * - * @param app the current applet. - * - * @param props application specific properties, passed as the second - * parameter in {@link #init(Applet, Properties)}. - * Can be <code>null</code>. - */ - protected abstract void set_parameters(Applet app, Properties props); - - /** - * Checks if the communication over network is allowed. - * @throws java.lang.SecurityException - */ - private static final void checkNetworkingPermission(String host, int port) - throws SecurityException - { - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkConnect(host, port); - } - } - - /** - * Get the ORB class name. - */ - private static String getORBName(Properties props, String property) - { - String orb_cn = null; - - if (props != null) - orb_cn = props.getProperty(property, null); - - if (orb_cn == null) - orb_cn = System.getProperty(property, null); - - if (orb_cn == null) - orb_cn = checkFile(property, "user.home", null); - - if (orb_cn == null) - orb_cn = checkFile(property, "java.home", "lib"); - - return orb_cn; - } - - /** - * Check if the property is defined in the existsting file orb.properties. - * - * @param property the property - * @param dir the system property, defining the folder where the - * file could be expected. - * @param subdir subfolder where to look for the file. - * - * @return the property value, null if not found or file does not exist. - */ - private static String checkFile(String property, String dir, String subdir) - { - try - { - File f = new File(dir); - if (!f.exists()) - return null; - - if (subdir != null) - f = new File(f, subdir); - - f = new File(f, "orb.properties"); - - if (!f.exists()) - return null; - - Properties p = new Properties(); - p.load(new BufferedInputStream(new FileInputStream(f))); - - return p.getProperty(property, null); - } - catch (IOException ex) - { - return null; - } - } - - /** - * Create ORB when its name is possibly known. - * - * @param props properties, possibly containing the ORB name. - * @param orbClassName the direct ORB class name, overriding - * other possible locations, or null if not specified. - */ - private static ORB createORB(Properties props, String orbClassName) - { - ORB orb = null; - - if (orbClassName == null) - { - orbClassName = getORBName(props, FUNCTIONAL_ORB); - - if (orbClassName == null) - orbClassName = DEFAULT_FUNCTIONAL_ORB; - } - - try - { - orb = (ORB) Class.forName(orbClassName).newInstance(); - } - catch (ClassNotFoundException ex) - { - noORB(orbClassName, ex); - } - catch (IllegalAccessException ex) - { - noORB(orbClassName, ex); - } - catch (InstantiationException ex) - { - noORB(orbClassName, ex); - } - - return orb; - } - - /** - * Throw the runtime exception. - * - * @param orb_c the ORB class name. - * @param why the explaining chained exception. - */ - private static void noORB(String orb_c, Throwable why) - { - throw new RuntimeException("The ORB " + orb_c + " cannot be instantiated.", - why - ); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java b/libjava/classpath/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ORBPackage/InvalidName.java b/libjava/classpath/org/omg/CORBA/ORBPackage/InvalidName.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ORBPackage/InvalidName.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ORBPackage/package.html b/libjava/classpath/org/omg/CORBA/ORBPackage/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ORBPackage/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/Object.java b/libjava/classpath/org/omg/CORBA/Object.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/Object.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ObjectHelper.java b/libjava/classpath/org/omg/CORBA/ObjectHelper.java deleted file mode 100644 index 1324c621f2b..00000000000 --- a/libjava/classpath/org/omg/CORBA/ObjectHelper.java +++ /dev/null @@ -1,112 +0,0 @@ -/* ObjectHelper.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA; - -import gnu.CORBA.primitiveTypeCode; - -import org.omg.CORBA.portable.InputStream; -import org.omg.CORBA.portable.OutputStream; - -/** - * The helper operations for the binding list. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public abstract class ObjectHelper -{ - static TypeCode typeCode; - - /** - * Extract the array of object from the given {@link Any}. - */ - public static org.omg.CORBA.Object extract(Any a) - { - try - { - return ((ObjectHolder) a.extract_Streamable()).value; - } - catch (ClassCastException ex) - { - throw new BAD_OPERATION("CORBA object expected"); - } - } - - /** - * Get the object repository id. - * @return the empty string. - */ - public static String id() - { - return ""; - } - - /** - * Insert the object into the given {@link Any}. - */ - public static void insert(Any a, org.omg.CORBA.Object object) - { - a.insert_Streamable(new ObjectHolder(object)); - } - - /** - * Read the object from the given CDR input stream. - */ - public static org.omg.CORBA.Object read(InputStream istream) - { - return istream.read_Object(); - } - - /** - * Return the object type code. - */ - public static TypeCode type() - { - if (typeCode == null) - typeCode = ORB.init().get_primitive_tc(TCKind.tk_objref); - return typeCode; - } - - /** - * Write the object into the given CDR output stream. - */ - public static void write(OutputStream ostream, org.omg.CORBA.Object value) - { - ostream.write_Object(value); - } -} diff --git a/libjava/classpath/org/omg/CORBA/ObjectHolder.java b/libjava/classpath/org/omg/CORBA/ObjectHolder.java deleted file mode 100644 index 27ae674167a..00000000000 --- a/libjava/classpath/org/omg/CORBA/ObjectHolder.java +++ /dev/null @@ -1,134 +0,0 @@ -/* ObjectHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA; - -import gnu.CORBA.primitiveTypeCode; -import gnu.CORBA.recordTypeCode; - -import org.omg.CORBA.portable.InputStream; -import org.omg.CORBA.portable.OutputStream; -import org.omg.CORBA.portable.Streamable; - -/** - * A holder for CORBA <code>Object</code> that is mapped into - * java <code>org.omg.CORBA.Object</code>. - * - * The holders have several application areas. The end user usually - * sees them implementing CORBA methods where the primitive type - * is passed by reference. While CORBA (or, for example, C) supports - * this, the java does not and a wrapper class is required. - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) - */ -public final class ObjectHolder - implements Streamable -{ - /** - * The default type code for this holder if the object type code with - * the zero length string as id. - */ - private static final recordTypeCode t_object; - - static - { - t_object = new recordTypeCode(TCKind.tk_objref); - t_object.setId(""); - } - - /** - * The <code>org.omg.CORBA.Object</code> (CORBA <code>Object</code>) value, - * held by this ObjectHolder. - */ - public org.omg.CORBA.Object value; - - /** - * Constructs an instance of ObjectHolder, - * initializing {@link #value} to <code>0</code>. - */ - public ObjectHolder() - { - } - - /** - * Constructs an instance of ObjectHolder, - * initializing {@link #value} to the given <code>org.omg.CORBA.Object</code>. - * - * @param initial_value a value that will be assigned to the - * {@link #value} field. - */ - public ObjectHolder(org.omg.CORBA.Object initial_value) - { - value = initial_value; - } - - /** - * Fill in the {@link value } field by reading the required data - * from the given stream. For <code>org.omg.CORBA.Object</code>, the - * functionality is delegated to - * {@link org.omg.CORBA.portable.InputStream#read_Object}. - * - * @param input the input stream to read from. - */ - public void _read(InputStream input) - { - value = input.read_Object(); - } - - /** - * Returns the TypeCode, corresponding the CORBA type that is stored - * using this holder. - */ - public TypeCode _type() - { - return ObjectHelper.type(); - } - - /** - * Write the {@link value } field to the given stream. - * For <code>Object</code>, the functionality - * is delegated to - * {@link org.omg.CORBA.portable.OutputStream#write_Object(Object) }. - * - * @param output the output stream to write into. - */ - public void _write(OutputStream output) - { - output.write_Object(value); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/CORBA/OctetSeqHelper.java b/libjava/classpath/org/omg/CORBA/OctetSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/OctetSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/OctetSeqHolder.java b/libjava/classpath/org/omg/CORBA/OctetSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/OctetSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PERSIST_STORE.java b/libjava/classpath/org/omg/CORBA/PERSIST_STORE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PERSIST_STORE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PRIVATE_MEMBER.java b/libjava/classpath/org/omg/CORBA/PRIVATE_MEMBER.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PRIVATE_MEMBER.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PUBLIC_MEMBER.java b/libjava/classpath/org/omg/CORBA/PUBLIC_MEMBER.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PUBLIC_MEMBER.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ParameterMode.java b/libjava/classpath/org/omg/CORBA/ParameterMode.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ParameterMode.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ParameterModeHelper.java b/libjava/classpath/org/omg/CORBA/ParameterModeHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ParameterModeHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ParameterModeHolder.java b/libjava/classpath/org/omg/CORBA/ParameterModeHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ParameterModeHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/Policy.java b/libjava/classpath/org/omg/CORBA/Policy.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/Policy.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PolicyError.java b/libjava/classpath/org/omg/CORBA/PolicyError.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PolicyError.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PolicyHelper.java b/libjava/classpath/org/omg/CORBA/PolicyHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PolicyHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PolicyHolder.java b/libjava/classpath/org/omg/CORBA/PolicyHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PolicyHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PolicyListHelper.java b/libjava/classpath/org/omg/CORBA/PolicyListHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PolicyListHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PolicyListHolder.java b/libjava/classpath/org/omg/CORBA/PolicyListHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PolicyListHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PolicyOperations.java b/libjava/classpath/org/omg/CORBA/PolicyOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PolicyOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PolicyTypeHelper.java b/libjava/classpath/org/omg/CORBA/PolicyTypeHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PolicyTypeHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/Principal.java b/libjava/classpath/org/omg/CORBA/Principal.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/Principal.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/PrincipalHolder.java b/libjava/classpath/org/omg/CORBA/PrincipalHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/PrincipalHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/RepositoryIdHelper.java b/libjava/classpath/org/omg/CORBA/RepositoryIdHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/RepositoryIdHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/Request.java b/libjava/classpath/org/omg/CORBA/Request.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/Request.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ServerRequest.java b/libjava/classpath/org/omg/CORBA/ServerRequest.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ServerRequest.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ServiceDetail.java b/libjava/classpath/org/omg/CORBA/ServiceDetail.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ServiceDetail.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ServiceDetailHelper.java b/libjava/classpath/org/omg/CORBA/ServiceDetailHelper.java deleted file mode 100644 index fe0135d975b..00000000000 --- a/libjava/classpath/org/omg/CORBA/ServiceDetailHelper.java +++ /dev/null @@ -1,173 +0,0 @@ -/* ServiceDetailHelper.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA; - -import gnu.CORBA.ServiceDetailHolder; - -import org.omg.CORBA.portable.InputStream; -import org.omg.CORBA.portable.OutputStream; - -/** - * The helper operations on the Service Detail. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public abstract class ServiceDetailHelper -{ - /** - * The service detail repository id. - */ - private static String _id = "IDL:omg.org/CORBA/ServiceDetail:1.0"; - - /** - * The cached typecode value, computed once. - */ - private static TypeCode typeCode; - - /** - * Extract the service detail info from the given {@link Any} - * - * @param a the Any to extract from. - * - * @return the extracted detail. - * - * @throws BAD_OPERATION if the parameter holds something different - * from the ServiceDetail. - */ - public static ServiceDetail extract(Any a) - { - try - { - return ((ServiceDetailHolder) a.extract_Streamable()).value; - } - catch (ClassCastException ex) - { - throw new BAD_OPERATION(); - } - } - - /** - * Get the service detail repository id. - * - * @return the service detail repository id, - * <code>IDL:omg.org/CORBA/ServiceDetail:1.0</code>, always. - */ - public static String id() - { - return _id; - } - - /** - * Insert the service detail into the given {@link Any}. - * - * @param a the Any to insert into. - * - * @param that the detail to insert. - */ - public static void insert(Any a, ServiceDetail that) - { - a.insert_Streamable(new ServiceDetailHolder(that)); - } - - /** - * Read the service detail information from the given CDR - * intput stream. First reads the type, then the flexible - * length byte sequence. - * - * @param istream a stram to read from. - * - * @return the loaded service detail. - */ - public static ServiceDetail read(InputStream istream) - { - ServiceDetail value = new ServiceDetail(); - value.service_detail_type = istream.read_ulong(); - - int l = istream.read_long(); - value.service_detail = new byte[ l ]; - istream.read_octet_array(value.service_detail, 0, l); - return value; - } - - /** - * Get the typecode of the service detail, assuming to be it - * a structure with the two fields. - * - * @return the newly created or cached typecode value. - */ - public static TypeCode type() - { - if (typeCode == null) - { - ORB orb = ORB.init(); - - StructMember[] members = new StructMember[ 2 ]; - - TypeCode type = - orb.create_alias_tc(_id, "ServiceDetailType", - orb.get_primitive_tc(TCKind.tk_ulong) - ); - members [ 0 ] = new StructMember("service_detail_type", type, null); - - TypeCode data = - orb.create_sequence_tc(0, orb.get_primitive_tc(TCKind.tk_octet)); - members [ 1 ] = new StructMember("service_detail", data, null); - - typeCode = orb.create_struct_tc(id(), "ServiceDetail", members); - } - return typeCode; - } - - /** - * Write the service detail data to the given CDR output stream. - * Writes the detail type first, then the detail type data - * as the variable length byte sequence. - * - * @param ostream a stream to write into. - * @param value a value to write. - */ - public static void write(OutputStream ostream, ServiceDetail value) - { - ostream.write_ulong(value.service_detail_type); - ostream.write_long(value.service_detail.length); - ostream.write_octet_array(value.service_detail, 0, - value.service_detail.length - ); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/CORBA/ServiceInformation.java b/libjava/classpath/org/omg/CORBA/ServiceInformation.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ServiceInformation.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ServiceInformationHelper.java b/libjava/classpath/org/omg/CORBA/ServiceInformationHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ServiceInformationHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ServiceInformationHolder.java b/libjava/classpath/org/omg/CORBA/ServiceInformationHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ServiceInformationHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/SetOverrideType.java b/libjava/classpath/org/omg/CORBA/SetOverrideType.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/SetOverrideType.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/SetOverrideTypeHelper.java b/libjava/classpath/org/omg/CORBA/SetOverrideTypeHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/SetOverrideTypeHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ShortHolder.java b/libjava/classpath/org/omg/CORBA/ShortHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ShortHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ShortSeqHelper.java b/libjava/classpath/org/omg/CORBA/ShortSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ShortSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ShortSeqHolder.java b/libjava/classpath/org/omg/CORBA/ShortSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ShortSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/StringHolder.java b/libjava/classpath/org/omg/CORBA/StringHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/StringHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/StringSeqHelper.java b/libjava/classpath/org/omg/CORBA/StringSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/StringSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/StringSeqHolder.java b/libjava/classpath/org/omg/CORBA/StringSeqHolder.java deleted file mode 100755 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/StringSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/StringValueHelper.java b/libjava/classpath/org/omg/CORBA/StringValueHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/StringValueHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/StructMember.java b/libjava/classpath/org/omg/CORBA/StructMember.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/StructMember.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/StructMemberHelper.java b/libjava/classpath/org/omg/CORBA/StructMemberHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/StructMemberHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/SystemException.java b/libjava/classpath/org/omg/CORBA/SystemException.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/SystemException.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/TCKind.java b/libjava/classpath/org/omg/CORBA/TCKind.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/TCKind.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/TRANSACTION_REQUIRED.java b/libjava/classpath/org/omg/CORBA/TRANSACTION_REQUIRED.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/TRANSACTION_REQUIRED.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/TRANSACTION_ROLLEDBACK.java b/libjava/classpath/org/omg/CORBA/TRANSACTION_ROLLEDBACK.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/TRANSACTION_ROLLEDBACK.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/TRANSIENT.java b/libjava/classpath/org/omg/CORBA/TRANSIENT.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/TRANSIENT.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/TypeCode.java b/libjava/classpath/org/omg/CORBA/TypeCode.java deleted file mode 100644 index a1ad3db9e61..00000000000 --- a/libjava/classpath/org/omg/CORBA/TypeCode.java +++ /dev/null @@ -1,271 +0,0 @@ -/* TypeCode.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA; - -import org.omg.CORBA.TypeCodePackage.BadKind; -import org.omg.CORBA.portable.IDLEntity; - -import java.io.Serializable; - -/** - * An information about a CORBA data type. - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) - */ -public abstract class TypeCode - implements IDLEntity, Serializable -{ - /** - * Use serialVersionUID for interoperability. - * Using the version 1.4 UID. - */ - private static final long serialVersionUID = -6521025782489515676L; - - /** - * For value types that support inheritance this method returns the - * of the ancestor type code. - * - * @return the ancestor TypeCode. - * - * @throws BadKind for all typecodes except the value type typecodes. - */ - public abstract TypeCode concrete_base_type() - throws BadKind; - - /** - * For sequences, arrays, aliases and value boxes, returns the IDL type for - * the members of the object. - * @return a TypeCode of the memebers of this type. - * @throws BadKind for types other than - * sequences, arrays, aliases and value boxes. - */ - public abstract TypeCode content_type() - throws BadKind; - - /** - * For unions, returs the index of the default member. - * @return the index of the default member, -1 if there is - * no default member. - * @throws BadKind if this type is not - * a union. - */ - public abstract int default_index() - throws BadKind; - - /** - * Returs definition of member labels for untions - * @return a TypeCode, describing all non-default member labels. - * @throws BadKind if this type is not a - * union. - */ - public abstract TypeCode discriminator_type() - throws BadKind; - - /** - * Test two types for equality. - * - * @param other the other type to compere with - * @return true if the types are interchangeable. - */ - public abstract boolean equal(TypeCode other); - - /** - * Following the current 1.4 API specifcation, this should just throw - * NO_IMPLEMENT. - * @throws org.omg.CORBA.NO_IMPLEMENT, always. - */ - public abstract boolean equivalent(TypeCode other); - - /** - * For the fixed type, returns the number of digits. - * @return the number of digits for the fixed type - * @throws BadKind if this is not a fixed - * type. - */ - public abstract short fixed_digits() - throws BadKind; - - /** - * Returns the scale for the fixed type. The returned value can be either - * positive (the number of digits to the right of the decimal point) or - * negative (adds zeros to the left of the decimal point). - * @return the scale. - * @throws BadKind if this is not a fixed - * type. - */ - public abstract short fixed_scale() - throws BadKind; - - /** - * Returns a version of this instance without the optional memeber and - * member name fields. - * @return the truncated version. - */ - public abstract TypeCode get_compact_typecode(); - - /** - * Returns the RepositoryId globally identifying the type, defined by - * this TypeCode. - * @return tje RepositoryId. In some cases, it may be an empty string. - * @throws BadKind if the type is other than - * reference, structure, union, enumeration, alias, exception, valuetype, - * boxed valuetype and also native and abstract interfaces. - */ - public abstract String id() - throws BadKind; - - /** - * Return the kind of this type code object. - * @return one of the <code>TCKind.t_..</code> fields. - */ - public abstract TCKind kind(); - - /** - * Returns the number of elements in the type. For arrays, this - * method returns the length of the array. For strings and sequences, - * it returns the bound of the type, zero indicating the unbounded - * type. - * - * @return length or bound - * - * @throws BadKind for types other than - * string, sequence and array. - */ - public abstract int length() - throws BadKind; - - /** - * Returns the number of type memebers. - * - * @return the number of memebers - * @throws BadKind for types other than - * structure, union, enumeration or exception. - */ - public abstract int member_count() - throws BadKind; - - /** - * Retrieves the label of the union member at the given index. - * For the default member, this label is the zero octet. - * - * @param index the index of the union memeber. - * - * @return the label - * - * @throws BadKind if this is not a union - * type. - * @throws org.omg.CORBA.TypeCodePackage.Bounds if the index is out of - * valid bounds. - */ - public abstract Any member_label(int index) - throws BadKind, - org.omg.CORBA.TypeCodePackage.Bounds; - - /** - * Retrieves the simple name of the member identified by the given index. - * - * @param index the index of the memeber. - * - * @return the member name that in some cases can be an empty string. - * - * @throws BadKind for types other than - * structure, union or enumeration. - * @throws org.omg.CORBA.TypeCodePackage.Bounds if the index is out of - * valid bounds. - */ - public abstract String member_name(int index) - throws BadKind, - org.omg.CORBA.TypeCodePackage.Bounds; - - /** - * Retrieves the member type of the member identified by the given index. - * - * @param index the index of the memeber. - * - * @return the member type. - * - * @throws BadKind for types other than - * structure, union, enumeration or exception. - * @throws org.omg.CORBA.TypeCodePackage.Bounds if the index is out of - * valid bounds. - */ - public abstract TypeCode member_type(int index) - throws BadKind, - org.omg.CORBA.TypeCodePackage.Bounds; - - /** - * Returns the visibility scope of the member at the given index. - * This operation can only be invoked on non-boxed value types. - * - * @param index the index of the member - * - * @return either PRIVATE_MEMBER.value or PUBLIC_MEMBER.value - * - * @throws BadKind if this is not a non boxed - * value type. - * - * @throws org.omg.CORBA.TypeCodePackage.Bounds if the index is out of - * valid bounds. - */ - public abstract short member_visibility(int index) - throws BadKind, - org.omg.CORBA.TypeCodePackage.Bounds; - - /** - * Retrieves the simple name identifying this TypeCode object - * within its enclosing scope. - * @return the name, can be an empty string. - * @throws BadKind for typer other than - * reference, structure, union, enumeration, alias, exception, - * valuetype, boxed valuetype, native, and abstract interface - */ - public abstract String name() - throws BadKind; - - /** - * Returns a constant indicating the modifier of the value type. - * - * @return one of the following constants: - * VM_NONE.value, VM_ABSTRACT.value, VM_CUSTOM.value, or - * VM_TRUNCATABLE.value, - * - * @throws BadKind for all types other than value type. - */ - public abstract short type_modifier() - throws BadKind; -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/CORBA/TypeCodeHolder.java b/libjava/classpath/org/omg/CORBA/TypeCodeHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/TypeCodeHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/TypeCodePackage/BadKind.java b/libjava/classpath/org/omg/CORBA/TypeCodePackage/BadKind.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/TypeCodePackage/BadKind.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/TypeCodePackage/Bounds.java b/libjava/classpath/org/omg/CORBA/TypeCodePackage/Bounds.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/TypeCodePackage/Bounds.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/TypeCodePackage/package.html b/libjava/classpath/org/omg/CORBA/TypeCodePackage/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/TypeCodePackage/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ULongLongSeqHelper.java b/libjava/classpath/org/omg/CORBA/ULongLongSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ULongLongSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ULongLongSeqHolder.java b/libjava/classpath/org/omg/CORBA/ULongLongSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ULongLongSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ULongSeqHelper.java b/libjava/classpath/org/omg/CORBA/ULongSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ULongSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ULongSeqHolder.java b/libjava/classpath/org/omg/CORBA/ULongSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ULongSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/UNKNOWN.java b/libjava/classpath/org/omg/CORBA/UNKNOWN.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/UNKNOWN.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/UNSUPPORTED_POLICY.java b/libjava/classpath/org/omg/CORBA/UNSUPPORTED_POLICY.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/UNSUPPORTED_POLICY.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java b/libjava/classpath/org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/UShortSeqHelper.java b/libjava/classpath/org/omg/CORBA/UShortSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/UShortSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/UShortSeqHolder.java b/libjava/classpath/org/omg/CORBA/UShortSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/UShortSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/UnionMember.java b/libjava/classpath/org/omg/CORBA/UnionMember.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/UnionMember.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/UnionMemberHelper.java b/libjava/classpath/org/omg/CORBA/UnionMemberHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/UnionMemberHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/UnknownUserException.java b/libjava/classpath/org/omg/CORBA/UnknownUserException.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/UnknownUserException.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/UserException.java b/libjava/classpath/org/omg/CORBA/UserException.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/UserException.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/VM_ABSTRACT.java b/libjava/classpath/org/omg/CORBA/VM_ABSTRACT.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/VM_ABSTRACT.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/VM_CUSTOM.java b/libjava/classpath/org/omg/CORBA/VM_CUSTOM.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/VM_CUSTOM.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/VM_NONE.java b/libjava/classpath/org/omg/CORBA/VM_NONE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/VM_NONE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/VM_TRUNCATABLE.java b/libjava/classpath/org/omg/CORBA/VM_TRUNCATABLE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/VM_TRUNCATABLE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ValueBaseHelper.java b/libjava/classpath/org/omg/CORBA/ValueBaseHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ValueBaseHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ValueBaseHolder.java b/libjava/classpath/org/omg/CORBA/ValueBaseHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ValueBaseHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ValueMember.java b/libjava/classpath/org/omg/CORBA/ValueMember.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ValueMember.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/ValueMemberHelper.java b/libjava/classpath/org/omg/CORBA/ValueMemberHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/ValueMemberHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/VersionSpecHelper.java b/libjava/classpath/org/omg/CORBA/VersionSpecHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/VersionSpecHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/VisibilityHelper.java b/libjava/classpath/org/omg/CORBA/VisibilityHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/VisibilityHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/WCharSeqHelper.java b/libjava/classpath/org/omg/CORBA/WCharSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/WCharSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/WCharSeqHolder.java b/libjava/classpath/org/omg/CORBA/WCharSeqHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/WCharSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/WStringSeqHelper.java b/libjava/classpath/org/omg/CORBA/WStringSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/WStringSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/WStringSeqHolder.java b/libjava/classpath/org/omg/CORBA/WStringSeqHolder.java deleted file mode 100755 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/WStringSeqHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/WStringValueHelper.java b/libjava/classpath/org/omg/CORBA/WStringValueHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/WStringValueHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/WrongTransaction.java b/libjava/classpath/org/omg/CORBA/WrongTransaction.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/WrongTransaction.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/_IDLTypeStub.java b/libjava/classpath/org/omg/CORBA/_IDLTypeStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/_IDLTypeStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/_PolicyStub.java b/libjava/classpath/org/omg/CORBA/_PolicyStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/_PolicyStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/package.html b/libjava/classpath/org/omg/CORBA/package.html deleted file mode 100644 index 3815b19b0ea..00000000000 --- a/libjava/classpath/org/omg/CORBA/package.html +++ /dev/null @@ -1,122 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> -<!-- package.html - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. --> - -<html> -<head><title>GNU Classpath - org.omg.CORBA</title></head> - -<body> -This package provides the support of <a href="http://www.CORBA.org">CORBA</a>; -see <a href="#overview">overview</a> of the implemented functionality. -<p> -CORBA a system that applications use to work over networks. CORBA messages -are binary, not text oriented. They practically cary no "data wrapping" -information like XML <opening> </closing> tags. Hence CORBA -objects easier exchange large amounts of binary data. CORBA can work -in such data-intensive application areas as telecommunications or radio -broadcasting. Java programs connect to CORBA objects without care -about what platform they run on, where they exist in the network, or what -language they were written in. The remote CORBA objects appear to the -programmer as the ordinary Java objects and can be passed as -parameters in both remote or local method invocations. -</p><p> -The CORBA processing unit is divided into {@link org.omg.CORBA.Object} -that is exposed to the client and the servant -({@link org.omg.PortableServer.Servant} where the method, invoked on -object, is finally delegated. It can be multiple objects per servant or -multiple servants per object. The servant for particular object or -even particular call can be dynamically chosen at run time using -{@link org.omg.PortableServer.ServantManager}. -</p><p> -All stages of both local and remote invocations on CORBA objects can be -monitored and modified using {@link org.omg.PortableInterceptor.Interceptor}. -The interceptors can add an extra data to the CORBA message (these data -can be later accessed by other interceptor on remote side). -</p> -<a name="overview"> -<h4>Overview of the currently implemented CORBA functionality</h4> -The CORBA implementation in the Classpath project is now a working -prototype. -<ul> -<li>This prototype is interoperable with Sun's implementation v 1.4, -transferring object references, primitive types, narrow and wide strings, -arrays, structures and trees between these two platforms. -</li> -<li>The prototype provides interoperable support for the Abstract interface - and Value types. Those appear in 1.3, being a feature of CORBA 2.3. -</li> -<li>The remote exceptions are also transferred and handled as expected. -</li> -<li>The support for parsing stringified object references (IORs), both -Big and Little Endian encoded, is implemented. -</li> -<li>The redirection commands works, LOCATION_FORWARD_PERM changing the -target address until the application is restarted and LOCATION_FORWARD -redirecting for the current session only. -</li> -<li>Both Little and Big Endian encoded messages are accepted. The encoding -of the sent messages is the same as used in the stringified IOR reference -of that object or Big Endian, if no such data available. -</li> -<li>You can use both request-oriented (based on {@link org.omg.CORBA.Request} -and stream-oriented (based on {@link org.omg.CORBA.portable.ObjectImpl} -invocation models. The current release includes the working examples, -demonstrating the client-server communication using both methods. -</li> -<li>These examples also show, how to use the Classpath naming service. -</li> -<li>The IDL compiler is not yet written (and not even started), but as a - side effect of the required compatibility, the implementation seems -accepting the output of the Sun's idlj. -</li> -<li>The Portable Object Adapter is already released. For details on POA, -see the {@link org.omg.PortableServer} package.</li> -<li>We provide the implementation of the {@link org.omg.DynamicAny} -package. ORB returns the working DynAnyFactory that produces working -DynAny's as defined in OMG specification.</li> -<li>The Portable Interceptor is also complete. See -{@link org.omg.PortableInterceptor} package for details how to register -and use CORBA interceptors. -<li>All GNU Classpath classes in omg.org namespace are newly written using - the OMG .pdf document (Version 3.0.3, formal/04-03-12). -</li> -</ul> - - @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) -</body> -</html> - diff --git a/libjava/classpath/org/omg/CORBA/portable/ApplicationException.java b/libjava/classpath/org/omg/CORBA/portable/ApplicationException.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/ApplicationException.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/ApplicationException.jbx b/libjava/classpath/org/omg/CORBA/portable/ApplicationException.jbx deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/ApplicationException.jbx +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/BoxedValueHelper.java b/libjava/classpath/org/omg/CORBA/portable/BoxedValueHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/BoxedValueHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/CustomValue.java b/libjava/classpath/org/omg/CORBA/portable/CustomValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/CustomValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/Delegate.java b/libjava/classpath/org/omg/CORBA/portable/Delegate.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/Delegate.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/IDLEntity.java b/libjava/classpath/org/omg/CORBA/portable/IDLEntity.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/IDLEntity.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/IndirectionException.java b/libjava/classpath/org/omg/CORBA/portable/IndirectionException.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/IndirectionException.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/InputStream.java b/libjava/classpath/org/omg/CORBA/portable/InputStream.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/InputStream.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/InvokeHandler.java b/libjava/classpath/org/omg/CORBA/portable/InvokeHandler.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/InvokeHandler.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/ObjectImpl.java b/libjava/classpath/org/omg/CORBA/portable/ObjectImpl.java deleted file mode 100644 index 3cf1f49770d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/ObjectImpl.java +++ /dev/null @@ -1,405 +0,0 @@ -/* ObjectImpl.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA.portable; - -import org.omg.CORBA.Context; -import org.omg.CORBA.ContextList; -import org.omg.CORBA.DomainManager; -import org.omg.CORBA.ExceptionList; -import org.omg.CORBA.NVList; -import org.omg.CORBA.NamedValue; -import org.omg.CORBA.ORB; -import org.omg.CORBA.Policy; -import org.omg.CORBA.Request; -import org.omg.CORBA.SetOverrideType; - -/** - * The basic implementation of the CORBA Object. The most of the methods - * delegate the functionality to the {@link Delegate} that can be replaced - * by {@link #_set_delegate(Delegate)}. - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) - */ -public abstract class ObjectImpl - implements org.omg.CORBA.Object -{ - /** - * The vendor - dependent delegate, responsible for the method implementations. - */ - private Delegate delegate; - - /** - * Create a request to invoke the method of this object, specifying - * context list and the list of the expected exception. - * - * @param context a list of additional properties. - * @param operation the name of method to be invoked. - * @param parameters the method parameters. - * @param returns the container for tge method returned value. - * @param exceptions the list of the possible exceptions that the method - * can throw. - * @param ctx_list the list of the context strings that need to be - * resolved and send as a context instance. - * - * @return the created reaquest. - */ - public Request _create_request(Context context, String operation, - NVList parameters, NamedValue returns, - ExceptionList exceptions, ContextList ctx_list - ) - { - return delegate.create_request(this, context, operation, parameters, - returns, exceptions, ctx_list - ); - } - - /** - * Create a request to invoke the method of this object. - * - * @param context a list of additional properties. - * @param operation the name of method to be invoked. - * @param parameters the method parameters. - * @param returns the container for tge method returned value. - * - * @return the created reaquest. - */ - public Request _create_request(Context context, String operation, - NVList parameters, NamedValue returns - ) - { - return delegate.create_request(this, context, operation, parameters, returns); - } - - /** - * Duplicate the object reference. This does not make much sense for - * java platform and is just included for the sake of compliance with - * CORBA APIs. - * - * The method may return the object reference itself. - * - * @return as a rule, <code>this</code>. - */ - public org.omg.CORBA.Object _duplicate() - { - return delegate.duplicate(this); - } - - /** - * Get vendor specific delegate, responsible for the implemented - * functionality. - */ - public Delegate _get_delegate() - { - return delegate; - } - - /** - * Retrieve the domain managers for this object. - * - * @return the domain managers. - */ - public DomainManager[] _get_domain_managers() - { - return delegate.get_domain_managers(this); - } - - /** - * Get the <code>InterfaceDef</code> for this Object. - */ - public org.omg.CORBA.Object _get_interface_def() - { - return delegate.get_interface_def(this); - } - - /** - * Returns the {@link Policy}, applying to this object. - * - * @param a_policy_type a type of policy to be obtained. - * @return a corresponding Policy object. - * - * @throws BAD_PARAM if the policy of the given type is not - * associated with this object, or if it is not supported by this ORB. - */ - public Policy _get_policy(int type) - { - return delegate.get_policy(this, type); - } - - /** - * Get the array of interface repository ids, defining this object. - */ - public abstract String[] _ids(); - - /** - * Get the hashcode this object reference. The same hashcode still - * does not means that the references are the same. From the other - * side, two different references may still refer to the same CORBA - * object. The returned value must not change during the object - * lifetime. - * - * @param maximum the maximal value to return. - * - * @return the hashcode. - */ - public int _hash(int max) - { - return delegate.hash(this, max); - } - - /** - * Invoke the operation. - * - * @param output the stream, containing the written arguments. - * - * @return the stream, from where the input parameters could be read. - * - * @throws ApplicationException if the application throws an exception, - * defined as a part of its remote method definition. - * - * @throws RemarshalException if reading(remarshalling) fails. - */ - public InputStream _invoke(OutputStream output) - throws org.omg.CORBA.portable.ApplicationException, - org.omg.CORBA.portable.RemarshalException - { - return delegate.invoke(this, output); - } - - /** - * Check if this object can be referenced by the given repository id. - * - * @param repositoryIdentifer the repository id. - * - * @return true if the passed parameter is a repository id of this - * CORBA object. - */ - public boolean _is_a(String idl_id) - { - return delegate.is_a(this, idl_id); - } - - /** - * Return true if the other object references are equivalent, so far as - * it is possible to determine this easily. - * - * @param other the other object reference. - * - * @return true if both references refer the same object, false - * if they probably can refer different objects. Uses direct - * comparison if the delegate has not been set. - */ - public boolean _is_equivalent(org.omg.CORBA.Object other) - { - return (delegate == null) ? this == other - : delegate.is_equivalent(this, other); - } - - /** - * Returns true if the object is local. - * - * @param self the object to check. - * - * @return false, always (following 1.4 specs). Override to get - * functionality. - */ - public boolean _is_local() - { - return delegate.is_local(this); - } - - /** - * Determines if the server object for this reference has already - * been destroyed. - * - * @return true if the object has been destroyed, false otherwise. - */ - public boolean _non_existent() - { - return delegate.non_existent(this); - } - - /** - * Provides the reference to ORB. - * - * @return the associated ORB. - */ - public ORB _orb() - { - return delegate.orb(this); - } - - /** - * Free resoureces, occupied by this reference. The object implementation - * is not notified, and the other references to the same object are not - * affected. - */ - public void _release() - { - delegate.release(this); - } - - /** - * Release the reply stream back to ORB after finishing reading the data - * from it. - * - * @param input the stream, normally returned by {@link #invoke} or - * {@link ApplicationException#getInputStream()}, can be null. - * - * @throws NO_IMPLEMENT, always (following the 1.4 specification). - */ - public void _releaseReply(InputStream stream) - { - if (delegate != null) - delegate.releaseReply(this, stream); - } - - /** - * Create a request to invoke the method of this CORBA object. - * - * @param operation the name of the method to invoke. - * - * @return the request. - */ - public Request _request(String method) - { - return delegate.request(this, method); - } - - /** - * Create a request to invoke the method of this CORBA object. - * - * @param operation the name of the method to invoke. - * @param response_expected specifies if this is one way message or the - * response to the message is expected. - * - * @return the stream where the method arguments should be written. - */ - public org.omg.CORBA.portable.OutputStream _request(String method, - boolean response_expected - ) - { - return delegate.request(this, method, response_expected); - } - - /** - * This method is always called after invoking the operation on the - * local servant. - * - * The default method returns without action. - * - * @param self the object. - * @param servant the servant. - */ - public void _servant_postinvoke(ServantObject servant) - { - delegate.servant_postinvoke(this, servant); - } - - /** - * Returns a servant that should be used for this request. - * The servant can also be casted to the expected type, calling the - * required method directly. - * - * @param self the object - * @param operation the operation - * @param expectedType the expected type of the servant. - * - * This implementation always returns null; override for different - * behavior. - * - * @return the servant or null if the servant is not an expected type - * of the method is not supported, for example, due security reasons. - */ - public ServantObject _servant_preinvoke(String method, Class expected_type) - { - return delegate.servant_preinvoke(this, method, expected_type); - } - - /** - * Set the delegate, responsible for the implemented functionality. - * - * @param a_delegate a delegate, responsible for the implemented - * functionality. - */ - public void _set_delegate(Delegate a_delegate) - { - delegate = a_delegate; - } - - /** - * Returns a new object with the new policies either replacing or - * extending the current policies, depending on the second parameter. - * - * @param policies the policy additions or replacements. - * @param how either {@link SetOverrideType#SET_OVERRIDE} to override the - * current policies of {@link SetOverrideType#ADD_OVERRIDE} to replace - * them. - */ - public org.omg.CORBA.Object _set_policy_override(Policy[] policies, - SetOverrideType set_add - ) - { - return delegate.set_policy_override(this, policies, set_add); - } - - /** - * Check if this object is equal to another object. - * - * @param other the other object to compare. - * - * @return true if the objects are equal. - */ - public boolean equals(java.lang.Object other) - { - if (delegate == null) - return this == other; - else - return delegate.equals(this, other); - } - - /** - * Return the string representation of the passed object. - * - * @return the string representation. - */ - public String toString() - { - return delegate.toString(this); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/CORBA/portable/OutputStream.java b/libjava/classpath/org/omg/CORBA/portable/OutputStream.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/OutputStream.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/RemarshalException.java b/libjava/classpath/org/omg/CORBA/portable/RemarshalException.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/RemarshalException.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/ResponseHandler.java b/libjava/classpath/org/omg/CORBA/portable/ResponseHandler.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/ResponseHandler.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/ServantObject.java b/libjava/classpath/org/omg/CORBA/portable/ServantObject.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/ServantObject.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/Streamable.java b/libjava/classpath/org/omg/CORBA/portable/Streamable.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/Streamable.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/StreamableValue.java b/libjava/classpath/org/omg/CORBA/portable/StreamableValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/StreamableValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/UnknownException.java b/libjava/classpath/org/omg/CORBA/portable/UnknownException.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/UnknownException.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/ValueBase.java b/libjava/classpath/org/omg/CORBA/portable/ValueBase.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/ValueBase.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/ValueFactory.java b/libjava/classpath/org/omg/CORBA/portable/ValueFactory.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/ValueFactory.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA/portable/package.html b/libjava/classpath/org/omg/CORBA/portable/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA/portable/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA_2_3/ORB.java b/libjava/classpath/org/omg/CORBA_2_3/ORB.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA_2_3/ORB.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA_2_3/package.html b/libjava/classpath/org/omg/CORBA_2_3/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA_2_3/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA_2_3/portable/Delegate.java b/libjava/classpath/org/omg/CORBA_2_3/portable/Delegate.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA_2_3/portable/Delegate.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA_2_3/portable/InputStream.java b/libjava/classpath/org/omg/CORBA_2_3/portable/InputStream.java deleted file mode 100644 index 06ee33e6616..00000000000 --- a/libjava/classpath/org/omg/CORBA_2_3/portable/InputStream.java +++ /dev/null @@ -1,213 +0,0 @@ -/* InputStream.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA_2_3.portable; - -import gnu.CORBA.CDR.Vio; - -import org.omg.CORBA.MARSHAL; -import org.omg.CORBA.portable.BoxedValueHelper; -import org.omg.CORBA.portable.ValueFactory; - -import java.io.Serializable; - -/** - * This class defines a new CDR input stream methods, added since - * CORBA 2.3. - * - * This class is abstract; no direct instances can be instantiated. - * Also, up till v 1.4 inclusive there are no methods that would - * return it, and only one unimplemented interface, - * {@link org.omg.CORBA.portable.ValueFactory }, needs it as a parameter. - * - * However since 1.3 all methods, declared as returning an - * org.omg.CORBA.portable.InputStream actually return the instance of this - * derived class and the new methods are accessible after the casting - * operation. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public abstract class InputStream - extends org.omg.CORBA.portable.InputStream -{ - /** - * Read the abstract interface. An abstract interface can be either - * CORBA value type or CORBA object and is returned as an abstract - * java.lang.Object. - * - * As specified in OMG specification, this reads a single - * boolean and then delegates either to {@link #read_Object()} (for false) - * or to {@link #read_Value()} (for true). - * - * @return an abstract interface, unmarshaled from the stream. - */ - public Object read_abstract_interface() - { - boolean isValue = read_boolean(); - - if (isValue) - return read_value(); - else - return read_Object(); - } - - /** - * Read the abstract interface, corresponding to the passed type. - * An abstract interface can be either CORBA value type or CORBA - * object and is returned as an abstract java.lang.Object. - * - * As specified in OMG specification, this reads a single - * boolean and then delegates either to {@link #read_Object(Class)} (for false) - * or to {@link #read_Value(Class)} (for true). - * - * @param clz a base class for the abstract interface. - * - * @return an abstract interface, unmarshaled from the stream - */ - public Object read_abstract_interface(Class clz) - { - boolean isValue = read_boolean(); - - if (isValue) - return read_value(clz); - else - return read_Object(clz); - } - - /** - * Read a value type structure, extracting the repository id - * from the input stream itself. The repository id is optional - * in the value type record, but it must be present for this - * method to succeed. The {@link OutputStream} of this - * implementation always stores the repository id. - * - * The casts the streams ORB into a CORBA 2.3 ORB and then - * searched for a suitable value factory, where it delegates - * the functionality. - * - * If you know the exact class or can create an unitialised instance - * of the value type, it is recommended (faster) to use - * {@link #read_value(Class)} or {@link #read_value(Serializable)} - * instead. - * - * @param repository_id a repository id of the value type. - * - * @return an value type structure, unmarshaled from the stream - */ - public Serializable read_value() - { - return Vio.read(this); - } - - /** - * Read a value type structure, corresponing to the passed type. - * As the type is known, the repository Id in the input stream is - * optional an not required. The codebase, if present, is also ignored. - * - * The passed class must implement either {@link CustomMarshal} - * for the user-defined reading operations or {@link StreamableValue} - * for the standard (generated by IDL compiler) reading operations. - * Also, it must have the parameterless constructor to create a new - * instance. - * - * @param clz a base class for a value type. - * - * @return an value type structure, unmarshaled from the stream - */ - public Serializable read_value(Class clz) - { - return Vio.read(this, clz); - } - - /** - * Read a value type structure content, when the unitialised - * instance is passed as a parameter. It is a fastest method to read - * a value type. - * - * As the type is known, the repository Id in the input stream is - * optional an not required. The codebase, if present, is also ignored. - * - * The passed instance must implement either {@link CustomMarshal} - * for the user-defined reading operations or {@link StreamableValue} - * for the standard (generated by IDL compiler) reading operations. - * - * @param unitialised_value the unitialised value. - * - * @return same value, filled in by the stream content. - */ - public Serializable read_value(Serializable unitialised_value) - { - return (Serializable) Vio.read(this, unitialised_value, null); - } - - /** - * Read a value type structure, having the given repository id. - * The casts the streams ORB into a CORBA 2.3 ORB and then - * searched for a suitable value factory, where it delegates - * the functionality. - * - * If you know the exact class or can create an unitialised instance - * of the value type, it is recommended (faster) to use - * {@link #read_value(Class)} or {@link #read_value(Serializable)} - * instead. - * - * @param repository_id a repository id of the value type. - * - * @return an value type structure, unmarshaled from the stream - */ - public Serializable read_value(String repository_id) - { - ValueFactory factory = - ((org.omg.CORBA_2_3.ORB) orb()).lookup_value_factory(repository_id); - if (factory == null) - throw new MARSHAL("No factory"); - return (Serializable) Vio.read(this, null, factory); - } - - /** - * Use the provided boxed value helper to read the value. - * - * @param helper a helper for reading the value from the stream. - * - * @return an value type structure, unmarshaled from the stream. - */ - public Serializable read_value(BoxedValueHelper helper) - { - return Vio.read(this, helper); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/CORBA_2_3/portable/ObjectImpl.java b/libjava/classpath/org/omg/CORBA_2_3/portable/ObjectImpl.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA_2_3/portable/ObjectImpl.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CORBA_2_3/portable/OutputStream.java b/libjava/classpath/org/omg/CORBA_2_3/portable/OutputStream.java deleted file mode 100644 index 2ff8c226a82..00000000000 --- a/libjava/classpath/org/omg/CORBA_2_3/portable/OutputStream.java +++ /dev/null @@ -1,156 +0,0 @@ -/* OutputStream.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CORBA_2_3.portable; - -import gnu.CORBA.CDR.Vio; - -import org.omg.CORBA.portable.BoxedValueHelper; -import org.omg.CORBA.portable.ValueBase; - -import java.io.Serializable; - -/** - * This class defines a new CDR input stream methods, added since - * CORBA 2.3. - * - * This class is abstract; no direct instances can be instantiated. - * Also, up till v 1.4 inclusive there are no methods that would - * return it directly. - * - * However since 1.3 all methods, declared as returning an - * org.omg.CORBA.portable.InputStream actually return the instance of this - * derived class and the new methods are accessible after the casting - * operation. - * - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) - */ -public abstract class OutputStream - extends org.omg.CORBA.portable.OutputStream -{ - /** - * Writes an abstract interface to the stream. An abstract interface can - * be eithe CORBA object or value type and is written as a union with - * the boolean discriminator (false for objects, true for value types). - * - * The object from value is separated by fact that all values implement - * the {@link ValueBase} interface. Also, the passed parameter is treated - * as value it it does not implement CORBA Object. - * - * @param an_interface an abstract interface to write. - */ - public void write_abstract_interface(java.lang.Object an_interface) - { - boolean isValue = - an_interface instanceof ValueBase || - (!(an_interface instanceof org.omg.CORBA.Object)); - - write_boolean(isValue); - - if (isValue) - write_value((ValueBase) an_interface); - else - write_Object((org.omg.CORBA.Object) an_interface); - } - - /** - * Writes a value type into the output stream. - * - * The value type must implement either {@link CustomValue} - * (for user-defined writing method) or {@link StramableValue} - * (for standard writing using code, generated by IDL compiler). - * - * The written record will have a repository id, matching the - * class of the passed object. The codebase will not be written. - * - * @param value a value type object to write. - */ - public void write_value(Serializable value) - { - Vio.write(this, value); - } - - /** - * Write value to the stream using the boxed value helper. - * - * The value type must implement either {@link CustomValue} - * (for user-defined writing method) or {@link StramableValue} - * (for standard writing using code, generated by IDL compiler). - * - * @param value a value to write. - * @param helper a helper, responsible for the writing operation. - */ - public void write_value(Serializable value, BoxedValueHelper helper) - { - Vio.write(this, value, helper); - } - - /** - * Writes a value type into the output stream, stating it is an - * instance of the given class. The written record - * will have a repository id, matching the passed class. - * The codebase will not be written. - * - * The value type must implement either {@link CustomValue} - * (for user-defined writing method) or {@link StramableValue} - * (for standard writing using code, generated by IDL compiler). - * - * @param value a value type object to write. - */ - public void write_value(Serializable value, Class clz) - { - Vio.write(this, value, clz); - } - - /** - * Writes a value type into the output stream, - * stating it has the given repository id. - * - * The value type must implement either {@link CustomValue} - * (for user-defined writing method) or {@link StramableValue} - * (for standard writing using code, generated by IDL compiler). - * - * @param repository_id a repository id of the value type. - * - * @param value a value type object to write. - */ - public void write_value(Serializable value, String repository_id) - { - Vio.write(this, value, repository_id); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/CORBA_2_3/portable/package.html b/libjava/classpath/org/omg/CORBA_2_3/portable/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CORBA_2_3/portable/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/Binding.java b/libjava/classpath/org/omg/CosNaming/Binding.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/Binding.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingHelper.java b/libjava/classpath/org/omg/CosNaming/BindingHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingHolder.java b/libjava/classpath/org/omg/CosNaming/BindingHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingIterator.java b/libjava/classpath/org/omg/CosNaming/BindingIterator.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingIterator.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingIteratorHelper.java b/libjava/classpath/org/omg/CosNaming/BindingIteratorHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingIteratorHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingIteratorHolder.java b/libjava/classpath/org/omg/CosNaming/BindingIteratorHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingIteratorHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingIteratorOperations.java b/libjava/classpath/org/omg/CosNaming/BindingIteratorOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingIteratorOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingIteratorPOA.java b/libjava/classpath/org/omg/CosNaming/BindingIteratorPOA.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingIteratorPOA.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingListHelper.java b/libjava/classpath/org/omg/CosNaming/BindingListHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingListHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingListHolder.java b/libjava/classpath/org/omg/CosNaming/BindingListHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingListHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingType.java b/libjava/classpath/org/omg/CosNaming/BindingType.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingType.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingTypeHelper.java b/libjava/classpath/org/omg/CosNaming/BindingTypeHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingTypeHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/BindingTypeHolder.java b/libjava/classpath/org/omg/CosNaming/BindingTypeHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/BindingTypeHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/IstringHelper.java b/libjava/classpath/org/omg/CosNaming/IstringHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/IstringHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NameComponent.java b/libjava/classpath/org/omg/CosNaming/NameComponent.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NameComponent.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NameComponentHelper.java b/libjava/classpath/org/omg/CosNaming/NameComponentHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NameComponentHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NameComponentHolder.java b/libjava/classpath/org/omg/CosNaming/NameComponentHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NameComponentHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NameHelper.java b/libjava/classpath/org/omg/CosNaming/NameHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NameHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NameHolder.java b/libjava/classpath/org/omg/CosNaming/NameHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NameHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContext.java b/libjava/classpath/org/omg/CosNaming/NamingContext.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContext.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExt.java b/libjava/classpath/org/omg/CosNaming/NamingContextExt.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExt.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextExtHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtHolder.java b/libjava/classpath/org/omg/CosNaming/NamingContextExtHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtOperations.java b/libjava/classpath/org/omg/CosNaming/NamingContextExtOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtPOA.java b/libjava/classpath/org/omg/CosNaming/NamingContextExtPOA.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtPOA.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java b/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java b/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/package.html b/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextExtPackage/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextHolder.java b/libjava/classpath/org/omg/CosNaming/NamingContextHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextOperations.java b/libjava/classpath/org/omg/CosNaming/NamingContextOperations.java deleted file mode 100644 index dc25daaa320..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextOperations.java +++ /dev/null @@ -1,176 +0,0 @@ -/* NamingContext.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CosNaming; - -import org.omg.CORBA.portable.IDLEntity; -import org.omg.CosNaming.NamingContextPackage.AlreadyBound; -import org.omg.CosNaming.NamingContextPackage.CannotProceed; -import org.omg.CosNaming.NamingContextPackage.InvalidName; -import org.omg.CosNaming.NamingContextPackage.NotEmpty; -import org.omg.CosNaming.NamingContextPackage.NotFound; - -/** - * The naming context operations. The naming context can - * store (bound) and retrieve (resolve) the named objects or - * named child contexts. - * - * @see NamingContextExtOperations - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public interface NamingContextOperations - extends IDLEntity -{ - /** - * Gives the object a name, valid in this context. - * - * @param a_name the name, being given to the object. - * @param an_object the object, being named. - * - * @throws AlreadyBound if the object is already named in this context. - * @throws InvalidName if the name has zero length or otherwise invalid. - */ - void bind(NameComponent[] a_name, org.omg.CORBA.Object an_object) - throws NotFound, CannotProceed, InvalidName, AlreadyBound; - - /** - * Gives a child context name, valid in this context. - * - * @param a_name the name, being given to the child context. - * @param a_context the child context being named. - * - * @throws AlreadyBound if the child context is already named in - * the current context. - */ - void bind_context(NameComponent[] a_name, NamingContext a_context) - throws NotFound, CannotProceed, InvalidName, AlreadyBound; - - /** - * Create a new context and give it a given name (bound it) - * in the current context. - * - * @param a_name the name being given to the new context. - * - * @return the newly created context. - * - * @throws AlreadyBound if the name is already in use. - * @throws InvalidName if the name has zero length or otherwise invalid. - */ - NamingContext bind_new_context(NameComponent[] a_name) - throws NotFound, AlreadyBound, CannotProceed, - InvalidName; - - /** - * Destroy this context (must be empty). - * @throws NotEmpty if the context being destroyed is not empty. - */ - void destroy() - throws NotEmpty; - - /** - * Iterate over all bindings, defined in this namind context. - * - * @param amount the maximal number of context to return in the - * holder a_list. The remaining bindings are accessible via iterator - * an_iter. If the parameter amount is zero, all bindings are accessed only - * via this iterator. - * - * @param a_list the holder, where the returned bindigs are stored. - * @param an_iter the iterator that can be used to access the remaining - * bindings. - */ - void list(int amount, BindingListHolder a_list, BindingIteratorHolder an_iter); - - /** - * Creates a new naming context, not bound to any name. - */ - NamingContext new_context(); - - /** - * Names or renames the object. - * - * @param a_name the new name, being given to the object. If - * the object is already named in this context, it is renamed. - * - * @param an_object the object, being named. - * - * @throws InvalidName if the name has zero length or otherwise invalid. - */ - void rebind(NameComponent[] a_name, org.omg.CORBA.Object an_object) - throws NotFound, CannotProceed, InvalidName; - - /** - * Names or renames the child context. - * If the child context is already named in - * the current context, it is renamed. - * - * @param a_name the name, being given to the child context. - * @param a_context the child context being named. - * - * @throws InvalidName if the name has zero length or otherwise invalid. - */ - void rebind_context(NameComponent[] a_name, NamingContext a_context) - throws NotFound, CannotProceed, InvalidName; - - /** - * Get the object, bound to the specified name in this - * context. - * - * @param a_name the object name. - * - * @return the object, matching this name. The client - * usually casts or narrows (using the helper) the returned value - * to the more specific type. - * - * @throws NotFound - * @throws InvalidName if the name has zero length or otherwise invalid. - */ - org.omg.CORBA.Object resolve(NameComponent[] a_name) - throws NotFound, CannotProceed, InvalidName; - - /** - * Removes the name from the binding context. - * - * @param a_name a name to remove. - * - * @throws InvalidName if the name has zero length or otherwise invalid. - */ - void unbind(NameComponent[] a_name) - throws NotFound, CannotProceed, InvalidName; -} diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPOA.java b/libjava/classpath/org/omg/CosNaming/NamingContextPOA.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPOA.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/AlreadyBound.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/AlreadyBound.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/AlreadyBound.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/AlreadyBoundHolder.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/AlreadyBoundHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/AlreadyBoundHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/CannotProceed.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/CannotProceed.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/CannotProceed.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/CannotProceedHolder.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/CannotProceedHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/CannotProceedHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/InvalidName.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/InvalidName.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/InvalidName.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/InvalidNameHolder.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/InvalidNameHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/InvalidNameHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotEmpty.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotEmpty.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotEmpty.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotEmptyHolder.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotEmptyHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotEmptyHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFound.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFound.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFound.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundReason.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundReason.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundReason.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/package.html b/libjava/classpath/org/omg/CosNaming/NamingContextPackage/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/NamingContextPackage/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/_BindingIteratorImplBase.java b/libjava/classpath/org/omg/CosNaming/_BindingIteratorImplBase.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/_BindingIteratorImplBase.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/_BindingIteratorStub.java b/libjava/classpath/org/omg/CosNaming/_BindingIteratorStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/_BindingIteratorStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/_NamingContextExtImplBase.java b/libjava/classpath/org/omg/CosNaming/_NamingContextExtImplBase.java deleted file mode 100644 index 03630f8d674..00000000000 --- a/libjava/classpath/org/omg/CosNaming/_NamingContextExtImplBase.java +++ /dev/null @@ -1,237 +0,0 @@ -/* _NamingContextExtImplBase.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CosNaming; - -import org.omg.CORBA.ObjectHolder; -import org.omg.CORBA.ServerRequest; -import org.omg.CORBA.StringHolder; -import org.omg.CORBA.portable.InputStream; -import org.omg.CORBA.portable.InvokeHandler; -import org.omg.CORBA.portable.OutputStream; -import org.omg.CORBA.portable.ResponseHandler; -import org.omg.CORBA.portable.Streamable; -import org.omg.CosNaming.NamingContextExtPackage.InvalidAddress; -import org.omg.CosNaming.NamingContextExtPackage.InvalidAddressHelper; -import org.omg.CosNaming.NamingContextPackage.CannotProceed; -import org.omg.CosNaming.NamingContextPackage.CannotProceedHelper; -import org.omg.CosNaming.NamingContextPackage.InvalidName; -import org.omg.CosNaming.NamingContextPackage.InvalidNameHelper; -import org.omg.CosNaming.NamingContextPackage.NotFound; -import org.omg.CosNaming.NamingContextPackage.NotFoundHelper; - -import java.util.Hashtable; - -/** - * The extended naming context implementation base. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public abstract class _NamingContextExtImplBase - extends _NamingContextImplBase - implements NamingContextExt, InvokeHandler -{ - static Hashtable _methods = new Hashtable(); - - static - { - _methods.put("to_string", new java.lang.Integer(0)); - _methods.put("to_name", new java.lang.Integer(1)); - _methods.put("to_url", new java.lang.Integer(2)); - _methods.put("resolve_str", new java.lang.Integer(3)); - } - - /** - * This stub can be the base of the two CORBA objects, so it - * has two repository ids. - */ - private static String[] __ids = - { NamingContextExtHelper.id(), NamingContextHelper.id() }; - - /** - * Return the array of repository ids for this object. - * This stub can be the base of the two CORBA objects, so it - * has two repository ids, for {@link NamingContext} and - * for {@link NamingContextExt}. - */ - public String[] _ids() - { - return __ids; - } - - public OutputStream _invoke(String method, InputStream in, ResponseHandler rh) - { - Integer call_method = (Integer) _methods.get(method); - - if (call_method == null) - - // The older methods are handled by the parent class. - return super._invoke(method, in, rh); - - OutputStream out = null; - - switch (call_method.intValue()) - { - case 0 : // to_string - { - try - { - NameComponent[] a_name = NameHelper.read(in); - String result = null; - result = this.to_string(a_name); - out = rh.createReply(); - out.write_string(result); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - break; - } - - case 1 : // to_name - { - try - { - String a_name_string = in.read_string(); - NameComponent[] result = to_name(a_name_string); - out = rh.createReply(); - NameHelper.write(out, result); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - break; - } - - case 2 : // to_url - { - try - { - String an_address = in.read_string(); - String a_name_string = in.read_string(); - String result = to_url(an_address, a_name_string); - out = rh.createReply(); - out.write_string(result); - } - catch (InvalidAddress ex) - { - out = rh.createExceptionReply(); - InvalidAddressHelper.write(out, ex); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - break; - } - - case 3 : // resolve_str - { - try - { - String a_name_string = in.read_string(); - org.omg.CORBA.Object result = resolve_str(a_name_string); - out = rh.createReply(); - org.omg.CORBA.ObjectHelper.write(out, result); - } - catch (NotFound ex) - { - out = rh.createExceptionReply(); - NotFoundHelper.write(out, ex); - } - catch (CannotProceed ex) - { - out = rh.createExceptionReply(); - CannotProceedHelper.write(out, ex); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - break; - } - } - return out; - } - - /** - * The obsolete invocation using server request. Implemented for - * compatibility reasons, but is it more effectinve to use - * {@link #_invoke}. - * - * @param request a server request. - */ - public void invoke(ServerRequest request) - { - Streamable result = null; - - Integer call_method = (Integer) _methods.get(request.operation()); - - if (call_method == null) - { - super.invoke(request); - return; - } - - switch (call_method.intValue()) - { - case 0 : // to_string, String - result = new StringHolder(); - break; - - case 1 : // to_name, Name - result = new NameHolder(); - break; - - case 2 : // to_url, String - result = new StringHolder(); - break; - - case 3 : // resolve_str, Object - result = new ObjectHolder(); - break; - } - gnu.CORBA.ServiceRequestAdapter.invoke(request, this, result); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/CosNaming/_NamingContextExtStub.java b/libjava/classpath/org/omg/CosNaming/_NamingContextExtStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/_NamingContextExtStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/_NamingContextImplBase.java b/libjava/classpath/org/omg/CosNaming/_NamingContextImplBase.java deleted file mode 100644 index 7c1fb3a1d1e..00000000000 --- a/libjava/classpath/org/omg/CosNaming/_NamingContextImplBase.java +++ /dev/null @@ -1,413 +0,0 @@ -/* _NamingContextImplBase.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.CosNaming; - -import org.omg.CORBA.BAD_OPERATION; -import org.omg.CORBA.CompletionStatus; -import org.omg.CORBA.DynamicImplementation; -import org.omg.CORBA.ObjectHelper; -import org.omg.CORBA.ObjectHolder; -import org.omg.CORBA.ServerRequest; -import org.omg.CORBA.portable.InputStream; -import org.omg.CORBA.portable.InvokeHandler; -import org.omg.CORBA.portable.OutputStream; -import org.omg.CORBA.portable.ResponseHandler; -import org.omg.CORBA.portable.Streamable; -import org.omg.CosNaming.NamingContextPackage.AlreadyBound; -import org.omg.CosNaming.NamingContextPackage.AlreadyBoundHelper; -import org.omg.CosNaming.NamingContextPackage.CannotProceed; -import org.omg.CosNaming.NamingContextPackage.CannotProceedHelper; -import org.omg.CosNaming.NamingContextPackage.InvalidName; -import org.omg.CosNaming.NamingContextPackage.InvalidNameHelper; -import org.omg.CosNaming.NamingContextPackage.NotEmpty; -import org.omg.CosNaming.NamingContextPackage.NotEmptyHelper; -import org.omg.CosNaming.NamingContextPackage.NotFound; -import org.omg.CosNaming.NamingContextPackage.NotFoundHelper; - -import java.util.Hashtable; - -/** - * The naming context implementation base. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public abstract class _NamingContextImplBase - extends DynamicImplementation - implements NamingContext, InvokeHandler -{ - /** - * Use serialVersionUID (v1.4) for interoperability. - */ - private static final long serialVersionUID = -114280294134561035L; - - /** - * As there are quite many methods, it may be sensible to use the hashtable. - * This field is also reused in NamingContextPOA. - */ - static Hashtable methods = new Hashtable(); - - /** - * Put all methods into the table. - */ - static - { - methods.put("bind", new Integer(0)); - methods.put("rebind", new Integer(1)); - methods.put("bind_context", new Integer(2)); - methods.put("rebind_context", new Integer(3)); - methods.put("resolve", new Integer(4)); - methods.put("unbind", new Integer(5)); - methods.put("new_context", new Integer(6)); - methods.put("bind_new_context", new Integer(7)); - methods.put("destroy", new Integer(8)); - methods.put("list", new Integer(9)); - } - - /** - * Return the array of repository ids. - */ - public String[] _ids() - { - return new String[] { NamingContextHelper.id() }; - } - - /** - * The server calls this method after receiving the request message - * from client. The implementation base calls one of its abstract - * methods to perform the requested operation. - * - * @param method the method being invoked. - * @param in the stream to read parameters from. - * @param rh the handler to get a stream for writing a response. - * - * @return the stream, returned by the handler. - */ - public OutputStream _invoke(String method, InputStream in, ResponseHandler rh) - { - OutputStream out = null; - Integer call_method = (Integer) methods.get(method); - if (call_method == null) - throw new BAD_OPERATION(0, CompletionStatus.COMPLETED_MAYBE); - - switch (call_method.intValue()) - { - case 0 : // bind - { - try - { - NameComponent[] a_name = NameHelper.read(in); - org.omg.CORBA.Object an_object = ObjectHelper.read(in); - bind(a_name, an_object); - out = rh.createReply(); - } - catch (NotFound ex) - { - out = rh.createExceptionReply(); - NotFoundHelper.write(out, ex); - } - catch (CannotProceed ex) - { - out = rh.createExceptionReply(); - CannotProceedHelper.write(out, ex); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - catch (AlreadyBound ex) - { - out = rh.createExceptionReply(); - AlreadyBoundHelper.write(out, ex); - } - break; - } - - case 1 : // rebind - { - try - { - NameComponent[] a_name = NameHelper.read(in); - org.omg.CORBA.Object an_object = ObjectHelper.read(in); - rebind(a_name, an_object); - out = rh.createReply(); - } - catch (NotFound ex) - { - out = rh.createExceptionReply(); - NotFoundHelper.write(out, ex); - } - catch (CannotProceed ex) - { - out = rh.createExceptionReply(); - CannotProceedHelper.write(out, ex); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - break; - } - - case 2 : // bind_context - { - try - { - NameComponent[] a_name = NameHelper.read(in); - NamingContext a_context = NamingContextHelper.read(in); - bind_context(a_name, a_context); - out = rh.createReply(); - } - catch (NotFound ex) - { - out = rh.createExceptionReply(); - NotFoundHelper.write(out, ex); - } - catch (CannotProceed ex) - { - out = rh.createExceptionReply(); - CannotProceedHelper.write(out, ex); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - catch (AlreadyBound ex) - { - out = rh.createExceptionReply(); - AlreadyBoundHelper.write(out, ex); - } - break; - } - - case 3 : // rebind_context - { - try - { - NameComponent[] a_name = NameHelper.read(in); - NamingContext a_context = NamingContextHelper.read(in); - rebind_context(a_name, a_context); - out = rh.createReply(); - } - catch (NotFound ex) - { - out = rh.createExceptionReply(); - NotFoundHelper.write(out, ex); - } - catch (CannotProceed ex) - { - out = rh.createExceptionReply(); - CannotProceedHelper.write(out, ex); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - break; - } - - case 4 : // resolve - { - try - { - NameComponent[] a_name = NameHelper.read(in); - org.omg.CORBA.Object __result = null; - __result = resolve(a_name); - out = rh.createReply(); - ObjectHelper.write(out, __result); - } - catch (NotFound ex) - { - out = rh.createExceptionReply(); - NotFoundHelper.write(out, ex); - } - catch (CannotProceed ex) - { - out = rh.createExceptionReply(); - CannotProceedHelper.write(out, ex); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - break; - } - - case 5 : // unbind - { - try - { - NameComponent[] a_name = NameHelper.read(in); - unbind(a_name); - out = rh.createReply(); - } - catch (NotFound ex) - { - out = rh.createExceptionReply(); - NotFoundHelper.write(out, ex); - } - catch (CannotProceed ex) - { - out = rh.createExceptionReply(); - CannotProceedHelper.write(out, ex); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - break; - } - - case 6 : // new_context - { - NamingContext __result = null; - __result = new_context(); - out = rh.createReply(); - NamingContextHelper.write(out, __result); - break; - } - - case 7 : // bind_new_context - { - try - { - NameComponent[] a_name = NameHelper.read(in); - NamingContext __result = null; - __result = bind_new_context(a_name); - out = rh.createReply(); - NamingContextHelper.write(out, __result); - } - catch (NotFound ex) - { - out = rh.createExceptionReply(); - NotFoundHelper.write(out, ex); - } - catch (AlreadyBound ex) - { - out = rh.createExceptionReply(); - AlreadyBoundHelper.write(out, ex); - } - catch (CannotProceed ex) - { - out = rh.createExceptionReply(); - CannotProceedHelper.write(out, ex); - } - catch (InvalidName ex) - { - out = rh.createExceptionReply(); - InvalidNameHelper.write(out, ex); - } - break; - } - - case 8 : // destroy - { - try - { - destroy(); - out = rh.createReply(); - } - catch (NotEmpty ex) - { - out = rh.createExceptionReply(); - NotEmptyHelper.write(out, ex); - } - break; - } - - case 9 : // list - { - int amount = in.read_ulong(); - BindingListHolder a_list = new BindingListHolder(); - BindingIteratorHolder an_iter = new BindingIteratorHolder(); - list(amount, a_list, an_iter); - out = rh.createReply(); - BindingListHelper.write(out, a_list.value); - BindingIteratorHelper.write(out, an_iter.value); - break; - } - - default : - throw new BAD_OPERATION(0, CompletionStatus.COMPLETED_MAYBE); - } - - return out; - } - - /** - * The obsolete invocation using server request. Implemented for - * compatibility reasons, but is it more effectinve to use - * {@link #_invoke}. - * - * @param request a server request. - */ - public void invoke(ServerRequest request) - { - Streamable result = null; - - // The server request contains no required result type. - Integer call_method = (Integer) methods.get(request.operation()); - if (call_method == null) - throw new BAD_OPERATION(0, CompletionStatus.COMPLETED_MAYBE); - - switch (call_method.intValue()) - { - case 4 : // resolve, object - result = new ObjectHolder(); - break; - - case 6 : // new_context, NamingContext - case 7 : // bind_new_context, NamingContext - { - result = new NamingContextHolder(); - break; - } - - default : // void for others. - result = null; - } - - gnu.CORBA.ServiceRequestAdapter.invoke(request, this, result); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/CosNaming/_NamingContextStub.java b/libjava/classpath/org/omg/CosNaming/_NamingContextStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/_NamingContextStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/CosNaming/package.html b/libjava/classpath/org/omg/CosNaming/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/CosNaming/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/Dynamic/Parameter.java b/libjava/classpath/org/omg/Dynamic/Parameter.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/Dynamic/Parameter.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/AnySeqHelper.java b/libjava/classpath/org/omg/DynamicAny/AnySeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/AnySeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAny.java b/libjava/classpath/org/omg/DynamicAny/DynAny.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAny.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyFactory.java b/libjava/classpath/org/omg/DynamicAny/DynAnyFactory.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyFactory.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryHelper.java b/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryOperations.java b/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java b/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java b/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyHelper.java b/libjava/classpath/org/omg/DynamicAny/DynAnyHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyOperations.java b/libjava/classpath/org/omg/DynamicAny/DynAnyOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/InvalidValue.java b/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/InvalidValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/InvalidValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java b/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java b/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java b/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/package.html b/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnySeqHelper.java b/libjava/classpath/org/omg/DynamicAny/DynAnySeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynAnySeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynArray.java b/libjava/classpath/org/omg/DynamicAny/DynArray.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynArray.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynArrayHelper.java b/libjava/classpath/org/omg/DynamicAny/DynArrayHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynArrayHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynArrayOperations.java b/libjava/classpath/org/omg/DynamicAny/DynArrayOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynArrayOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynEnum.java b/libjava/classpath/org/omg/DynamicAny/DynEnum.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynEnum.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynEnumHelper.java b/libjava/classpath/org/omg/DynamicAny/DynEnumHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynEnumHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynEnumOperations.java b/libjava/classpath/org/omg/DynamicAny/DynEnumOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynEnumOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynFixed.java b/libjava/classpath/org/omg/DynamicAny/DynFixed.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynFixed.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynFixedHelper.java b/libjava/classpath/org/omg/DynamicAny/DynFixedHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynFixedHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynFixedOperations.java b/libjava/classpath/org/omg/DynamicAny/DynFixedOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynFixedOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynSequence.java b/libjava/classpath/org/omg/DynamicAny/DynSequence.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynSequence.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynSequenceHelper.java b/libjava/classpath/org/omg/DynamicAny/DynSequenceHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynSequenceHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynSequenceOperations.java b/libjava/classpath/org/omg/DynamicAny/DynSequenceOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynSequenceOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynStruct.java b/libjava/classpath/org/omg/DynamicAny/DynStruct.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynStruct.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynStructHelper.java b/libjava/classpath/org/omg/DynamicAny/DynStructHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynStructHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynStructOperations.java b/libjava/classpath/org/omg/DynamicAny/DynStructOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynStructOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynUnion.java b/libjava/classpath/org/omg/DynamicAny/DynUnion.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynUnion.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynUnionHelper.java b/libjava/classpath/org/omg/DynamicAny/DynUnionHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynUnionHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynUnionOperations.java b/libjava/classpath/org/omg/DynamicAny/DynUnionOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynUnionOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynValue.java b/libjava/classpath/org/omg/DynamicAny/DynValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynValueBox.java b/libjava/classpath/org/omg/DynamicAny/DynValueBox.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynValueBox.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynValueBoxOperations.java b/libjava/classpath/org/omg/DynamicAny/DynValueBoxOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynValueBoxOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynValueCommon.java b/libjava/classpath/org/omg/DynamicAny/DynValueCommon.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynValueCommon.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynValueCommonOperations.java b/libjava/classpath/org/omg/DynamicAny/DynValueCommonOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynValueCommonOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynValueHelper.java b/libjava/classpath/org/omg/DynamicAny/DynValueHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynValueHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/DynValueOperations.java b/libjava/classpath/org/omg/DynamicAny/DynValueOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/DynValueOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/FieldNameHelper.java b/libjava/classpath/org/omg/DynamicAny/FieldNameHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/FieldNameHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/NameDynAnyPair.java b/libjava/classpath/org/omg/DynamicAny/NameDynAnyPair.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/NameDynAnyPair.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/NameDynAnyPairHelper.java b/libjava/classpath/org/omg/DynamicAny/NameDynAnyPairHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/NameDynAnyPairHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/NameDynAnyPairSeqHelper.java b/libjava/classpath/org/omg/DynamicAny/NameDynAnyPairSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/NameDynAnyPairSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/NameValuePair.java b/libjava/classpath/org/omg/DynamicAny/NameValuePair.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/NameValuePair.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/NameValuePairHelper.java b/libjava/classpath/org/omg/DynamicAny/NameValuePairHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/NameValuePairHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/NameValuePairSeqHelper.java b/libjava/classpath/org/omg/DynamicAny/NameValuePairSeqHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/NameValuePairSeqHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/_DynAnyFactoryStub.java b/libjava/classpath/org/omg/DynamicAny/_DynAnyFactoryStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/_DynAnyFactoryStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/_DynAnyStub.java b/libjava/classpath/org/omg/DynamicAny/_DynAnyStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/_DynAnyStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/_DynArrayStub.java b/libjava/classpath/org/omg/DynamicAny/_DynArrayStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/_DynArrayStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/_DynEnumStub.java b/libjava/classpath/org/omg/DynamicAny/_DynEnumStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/_DynEnumStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/_DynFixedStub.java b/libjava/classpath/org/omg/DynamicAny/_DynFixedStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/_DynFixedStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/_DynSequenceStub.java b/libjava/classpath/org/omg/DynamicAny/_DynSequenceStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/_DynSequenceStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/_DynStructStub.java b/libjava/classpath/org/omg/DynamicAny/_DynStructStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/_DynStructStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/_DynUnionStub.java b/libjava/classpath/org/omg/DynamicAny/_DynUnionStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/_DynUnionStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/_DynValueStub.java b/libjava/classpath/org/omg/DynamicAny/_DynValueStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/_DynValueStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/DynamicAny/package.html b/libjava/classpath/org/omg/DynamicAny/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/DynamicAny/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodeSets.java b/libjava/classpath/org/omg/IOP/CodeSets.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodeSets.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/Codec.java b/libjava/classpath/org/omg/IOP/Codec.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/Codec.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecFactory.java b/libjava/classpath/org/omg/IOP/CodecFactory.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecFactory.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecFactoryHelper.java b/libjava/classpath/org/omg/IOP/CodecFactoryHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecFactoryHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecFactoryOperations.java b/libjava/classpath/org/omg/IOP/CodecFactoryOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecFactoryOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java b/libjava/classpath/org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java b/libjava/classpath/org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecOperations.java b/libjava/classpath/org/omg/IOP/CodecOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecPackage/FormatMismatch.java b/libjava/classpath/org/omg/IOP/CodecPackage/FormatMismatch.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecPackage/FormatMismatch.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecPackage/FormatMismatchHelper.java b/libjava/classpath/org/omg/IOP/CodecPackage/FormatMismatchHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecPackage/FormatMismatchHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java b/libjava/classpath/org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java b/libjava/classpath/org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecPackage/TypeMismatch.java b/libjava/classpath/org/omg/IOP/CodecPackage/TypeMismatch.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecPackage/TypeMismatch.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/CodecPackage/TypeMismatchHelper.java b/libjava/classpath/org/omg/IOP/CodecPackage/TypeMismatchHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/CodecPackage/TypeMismatchHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/ComponentIdHelper.java b/libjava/classpath/org/omg/IOP/ComponentIdHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/ComponentIdHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/ENCODING_CDR_ENCAPS.java b/libjava/classpath/org/omg/IOP/ENCODING_CDR_ENCAPS.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/ENCODING_CDR_ENCAPS.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/Encoding.java b/libjava/classpath/org/omg/IOP/Encoding.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/Encoding.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/IOR.java b/libjava/classpath/org/omg/IOP/IOR.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/IOR.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/IORHelper.java b/libjava/classpath/org/omg/IOP/IORHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/IORHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/IORHolder.java b/libjava/classpath/org/omg/IOP/IORHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/IORHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/MultipleComponentProfileHelper.java b/libjava/classpath/org/omg/IOP/MultipleComponentProfileHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/MultipleComponentProfileHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/MultipleComponentProfileHolder.java b/libjava/classpath/org/omg/IOP/MultipleComponentProfileHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/MultipleComponentProfileHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/ProfileIdHelper.java b/libjava/classpath/org/omg/IOP/ProfileIdHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/ProfileIdHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/ServiceContext.java b/libjava/classpath/org/omg/IOP/ServiceContext.java deleted file mode 100644 index e011a4e9e57..00000000000 --- a/libjava/classpath/org/omg/IOP/ServiceContext.java +++ /dev/null @@ -1,95 +0,0 @@ -/* ServiceContext.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.IOP; - -import org.omg.CORBA.portable.IDLEntity; - -import java.io.Serializable; - -/** - * The ServiceContext structure contains the service data, being passed in the - * CORBA message. For instance, then passing the wide characters, it is - * mandatory to include the service context, defining the used encoding. - * The contexts are recognised by they integer indentifier. - * In this class, the content of the context is represented as an abstract - * array of bytes. - * - * @see ServiceContextHolder - * @see ServiceContextHelper - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public final class ServiceContext - implements IDLEntity, Serializable -{ - /** - * Use serialVersionUID (v1.4) for interoperability. - */ - private static final long serialVersionUID = -2232391417465261379L; - - /** - * The context id (for instance, 0x1 for code sets context). - * At the moment of writing, the OMG defines 16 standard values and - * provides rules to register the vendor specific context ids. - * The range 0-4095 is reserved for the future standard OMG contexts. - */ - public int context_id; - - /** - * The context_data. - */ - public byte[] context_data; - - /** - * Create the unitialised instance, assigning to - * the all fields java default values. - */ - public ServiceContext() - { - } - - /** - * Create the instance, initialising the fields to the given values. - */ - public ServiceContext(int a_context_id, byte[] a_context_data) - { - this.context_id = a_context_id; - this.context_data = a_context_data; - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/IOP/ServiceContextHelper.java b/libjava/classpath/org/omg/IOP/ServiceContextHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/ServiceContextHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/ServiceContextHolder.java b/libjava/classpath/org/omg/IOP/ServiceContextHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/ServiceContextHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/ServiceContextListHelper.java b/libjava/classpath/org/omg/IOP/ServiceContextListHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/ServiceContextListHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/ServiceContextListHolder.java b/libjava/classpath/org/omg/IOP/ServiceContextListHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/ServiceContextListHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/ServiceIdHelper.java b/libjava/classpath/org/omg/IOP/ServiceIdHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/ServiceIdHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TAG_ALTERNATE_IIOP_ADDRESS.java b/libjava/classpath/org/omg/IOP/TAG_ALTERNATE_IIOP_ADDRESS.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TAG_ALTERNATE_IIOP_ADDRESS.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TAG_CODE_SETS.java b/libjava/classpath/org/omg/IOP/TAG_CODE_SETS.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TAG_CODE_SETS.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TAG_INTERNET_IOP.java b/libjava/classpath/org/omg/IOP/TAG_INTERNET_IOP.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TAG_INTERNET_IOP.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TAG_JAVA_CODEBASE.java b/libjava/classpath/org/omg/IOP/TAG_JAVA_CODEBASE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TAG_JAVA_CODEBASE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TAG_MULTIPLE_COMPONENTS.java b/libjava/classpath/org/omg/IOP/TAG_MULTIPLE_COMPONENTS.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TAG_MULTIPLE_COMPONENTS.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TAG_ORB_TYPE.java b/libjava/classpath/org/omg/IOP/TAG_ORB_TYPE.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TAG_ORB_TYPE.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TAG_POLICIES.java b/libjava/classpath/org/omg/IOP/TAG_POLICIES.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TAG_POLICIES.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TaggedComponent.java b/libjava/classpath/org/omg/IOP/TaggedComponent.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TaggedComponent.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TaggedComponentHelper.java b/libjava/classpath/org/omg/IOP/TaggedComponentHelper.java deleted file mode 100644 index 906d6390a36..00000000000 --- a/libjava/classpath/org/omg/IOP/TaggedComponentHelper.java +++ /dev/null @@ -1,182 +0,0 @@ -/* TaggedComponentHelper.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.IOP; - -import org.omg.CORBA.Any; -import org.omg.CORBA.BAD_OPERATION; -import org.omg.CORBA.MARSHAL; -import org.omg.CORBA.ORB; -import org.omg.CORBA.StructMember; -import org.omg.CORBA.TCKind; -import org.omg.CORBA.TypeCode; -import org.omg.CORBA.portable.InputStream; -import org.omg.CORBA.portable.OutputStream; - -import java.io.IOException; - -/** - * A helper operations for the {@link TaggedComponent}. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public abstract class TaggedComponentHelper -{ - /** - * The cached typecode value, computed only once. - */ - private static TypeCode typeCode; - - /** - * Create the TaggedComponent typecode (structure, named "TaggedComponent"). - * The typecode states that the structure contains the following fields: tag, - * component_data. - */ - public static TypeCode type() - { - if (typeCode == null) - { - ORB orb = ORB.init(); - StructMember[] members = new StructMember[2]; - - TypeCode field; - - field = orb.create_alias_tc("IDL:omg.org/IOP/ComponentId:1.0", - "ComponentId", - orb.get_primitive_tc(TCKind.tk_ulong)); - members[0] = new StructMember("tag", field, null); - - field = orb.create_sequence_tc(0, orb.get_primitive_tc(TCKind.tk_octet)); - members[1] = new StructMember("component_data", field, null); - typeCode = orb.create_struct_tc(id(), "TaggedComponent", members); - } - return typeCode; - } - - /** - * Insert the TaggedComponent into the given Any. This method uses the - * TaggedComponentHolder. - * - * @param any the Any to insert into. - * @param that the TaggedComponent to insert. - */ - public static void insert(Any any, TaggedComponent that) - { - any.insert_Streamable(new TaggedComponentHolder(that)); - } - - /** - * Extract the TaggedComponent from given Any. This method uses the - * TaggedComponentHolder. - * - * @throws BAD_OPERATION if the passed Any does not contain TaggedComponent. - */ - public static TaggedComponent extract(Any any) - { - try - { - return ((TaggedComponentHolder) any.extract_Streamable()).value; - } - catch (ClassCastException cex) - { - BAD_OPERATION bad = new BAD_OPERATION("TaggedComponent expected"); - bad.initCause(cex); - throw bad; - } - } - - /** - * Get the TaggedComponent repository id. - * - * @return "IDL:omg.org/IOP/TaggedComponent:1.0", always. - */ - public static String id() - { - return "IDL:omg.org/IOP/TaggedComponent:1.0"; - } - - /** - * Read the structure from the CDR intput stream. Expects the integer - * identifier of the tag, then the size of the tag data and then the specified - * number of bytes, representing the data of the tag. - * - * @param input a org.omg.CORBA.portable stream to read from. - */ - public static TaggedComponent read(InputStream input) - { - TaggedComponent value = new TaggedComponent(); - value.tag = input.read_long(); - value.component_data = new byte[input.read_long()]; - try - { - input.read(value.component_data); - } - catch (IOException e) - { - MARSHAL m = new MARSHAL(); - m.initCause(e); - throw m; - } - return value; - } - - /** - * Write the structure to the CDR output stream. Writes the integer identifier - * of the tag, then the size of the tag data and then the specified number of - * bytes, representing the data of the tag. - * - * @param output a org.omg.CORBA.portable stream stream to write into. - * @param value a value to write. - */ - public static void write(OutputStream output, TaggedComponent value) - { - output.write_long(value.tag); - output.write_long(value.component_data.length); - - try - { - output.write(value.component_data); - } - catch (IOException e) - { - MARSHAL m = new MARSHAL(); - m.initCause(e); - throw m; - } - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/IOP/TaggedComponentHolder.java b/libjava/classpath/org/omg/IOP/TaggedComponentHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TaggedComponentHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TaggedProfile.java b/libjava/classpath/org/omg/IOP/TaggedProfile.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TaggedProfile.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TaggedProfileHelper.java b/libjava/classpath/org/omg/IOP/TaggedProfileHelper.java deleted file mode 100644 index a23122eb975..00000000000 --- a/libjava/classpath/org/omg/IOP/TaggedProfileHelper.java +++ /dev/null @@ -1,192 +0,0 @@ -/* TaggedProfileHelper.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.IOP; - -import gnu.CORBA.CDR.cdrBufInput; -import gnu.CORBA.CDR.cdrBufOutput; - -import org.omg.CORBA.Any; -import org.omg.CORBA.BAD_OPERATION; -import org.omg.CORBA.MARSHAL; -import org.omg.CORBA.ORB; -import org.omg.CORBA.StructMember; -import org.omg.CORBA.TCKind; -import org.omg.CORBA.TypeCode; -import org.omg.CORBA.portable.InputStream; -import org.omg.CORBA.portable.OutputStream; - -import java.io.IOException; - -/** - * A helper operations for the structure {@link TaggedProfile}. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public abstract class TaggedProfileHelper -{ - /** - * The cached typecode value, computed only once. - */ - private static TypeCode typeCode; - - /** - * Create the TaggedProfile typecode (structure, named "TaggedProfile"). The - * typecode states that the structure contains the following fields: tag, - * profile_data. - */ - public static TypeCode type() - { - if (typeCode == null) - { - ORB orb = ORB.init(); - StructMember[] members = new StructMember[2]; - - TypeCode field; - - field = orb.create_alias_tc("IDL:omg.org/IOP/ProfileId:1.0", - "ProfileId", - orb.get_primitive_tc(TCKind.tk_ulong)); - members[0] = new StructMember("tag", field, null); - - field = orb.create_sequence_tc(0, orb.get_primitive_tc(TCKind.tk_octet)); - members[1] = new StructMember("profile_data", field, null); - typeCode = orb.create_struct_tc(id(), "TaggedProfile", members); - } - return typeCode; - } - - /** - * Insert the TaggedProfile into the given Any. This method uses the - * TaggedProfileHolder. - * - * @param any the Any to insert into. - * @param that the TaggedProfile to insert. - */ - public static void insert(Any any, TaggedProfile that) - { - any.insert_Streamable(new TaggedProfileHolder(that)); - } - - /** - * Extract the TaggedProfile from given Any. This method uses the - * TaggedProfileHolder. - * - * @throws BAD_OPERATION if the passed Any does not contain TaggedProfile. - */ - public static TaggedProfile extract(Any any) - { - try - { - return ((TaggedProfileHolder) any.extract_Streamable()).value; - } - catch (ClassCastException cex) - { - BAD_OPERATION bad = new BAD_OPERATION("TaggedProfile expected"); - bad.initCause(cex); - throw bad; - } - } - - /** - * Get the TaggedProfile repository id. - * - * @return "IDL:omg.org/IOP/TaggedProfile:1.0", always. - */ - public static String id() - { - return "IDL:omg.org/IOP/TaggedProfile:1.0"; - } - - /** - * Read the structure from the CDR intput stream. - * - * @param input a org.omg.CORBA.portable stream to read from. - */ - public static TaggedProfile read(InputStream input) - { - TaggedProfile value = new TaggedProfile(); - value.tag = input.read_long(); - - if (input instanceof cdrBufInput) - { - // Highly probable. - value.profile_data = ((cdrBufInput) input).read_sequence(); - } - else - { - value.profile_data = new byte[input.read_long()]; - for (int i0 = 0; i0 < value.profile_data.length; i0++) - value.profile_data[i0] = input.read_octet(); - } - return value; - } - - /** - * Write the structure to the CDR output stream. - * - * @param output a org.omg.CORBA.portable stream stream to write into. - * @param value a value to write. - */ - public static void write(OutputStream output, TaggedProfile value) - { - output.write_long(value.tag); - - if (output instanceof cdrBufOutput) - { - // Highly probable. - output.write_long(value.profile_data.length); - try - { - output.write(value.profile_data); - } - catch (IOException e) - { - MARSHAL m = new MARSHAL(); - m.initCause(e); - throw m; - } - } - else - { - output.write_long(value.profile_data.length); - for (int i0 = 0; i0 < value.profile_data.length; i0++) - output.write_octet(value.profile_data[i0]); - } - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/IOP/TaggedProfileHolder.java b/libjava/classpath/org/omg/IOP/TaggedProfileHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TaggedProfileHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/IOP/TransactionService.java b/libjava/classpath/org/omg/IOP/TransactionService.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/IOP/TransactionService.java +++ /dev/null diff --git a/libjava/classpath/org/omg/Messaging/SYNC_WITH_TRANSPORT.java b/libjava/classpath/org/omg/Messaging/SYNC_WITH_TRANSPORT.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/Messaging/SYNC_WITH_TRANSPORT.java +++ /dev/null diff --git a/libjava/classpath/org/omg/Messaging/SyncScopeHelper.java b/libjava/classpath/org/omg/Messaging/SyncScopeHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/Messaging/SyncScopeHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/Messaging/package.html b/libjava/classpath/org/omg/Messaging/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/Messaging/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInfo.java b/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInfo.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInfo.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInfoOperations.java b/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInfoOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInfoOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInterceptor.java b/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInterceptor.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInterceptor.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java b/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/Current.java b/libjava/classpath/org/omg/PortableInterceptor/Current.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/Current.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/CurrentHelper.java b/libjava/classpath/org/omg/PortableInterceptor/CurrentHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/CurrentHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/CurrentOperations.java b/libjava/classpath/org/omg/PortableInterceptor/CurrentOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/CurrentOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ForwardRequest.java b/libjava/classpath/org/omg/PortableInterceptor/ForwardRequest.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ForwardRequest.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ForwardRequestHelper.java b/libjava/classpath/org/omg/PortableInterceptor/ForwardRequestHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ForwardRequestHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/IORInfo.java b/libjava/classpath/org/omg/PortableInterceptor/IORInfo.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/IORInfo.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/IORInfoOperations.java b/libjava/classpath/org/omg/PortableInterceptor/IORInfoOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/IORInfoOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/IORInterceptor.java b/libjava/classpath/org/omg/PortableInterceptor/IORInterceptor.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/IORInterceptor.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/IORInterceptorOperations.java b/libjava/classpath/org/omg/PortableInterceptor/IORInterceptorOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/IORInterceptorOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/Interceptor.java b/libjava/classpath/org/omg/PortableInterceptor/Interceptor.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/Interceptor.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/InterceptorOperations.java b/libjava/classpath/org/omg/PortableInterceptor/InterceptorOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/InterceptorOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/InvalidSlot.java b/libjava/classpath/org/omg/PortableInterceptor/InvalidSlot.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/InvalidSlot.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/InvalidSlotHelper.java b/libjava/classpath/org/omg/PortableInterceptor/InvalidSlotHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/InvalidSlotHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/LOCATION_FORWARD.java b/libjava/classpath/org/omg/PortableInterceptor/LOCATION_FORWARD.java deleted file mode 100644 index bbd23f03f62..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/LOCATION_FORWARD.java +++ /dev/null @@ -1,54 +0,0 @@ -/* LOCATION_FORWARD.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.PortableInterceptor; - - -/** - * A reply status flag, indicating, that the object has - * moved (temporary or permanently) to another location. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public interface LOCATION_FORWARD -{ - /** - * Specifies the LOCATION_FORWARD value, 3. - */ - short value = 3; -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfo.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfo.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfo.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoOperations.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java deleted file mode 100644 index 187273725e9..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java +++ /dev/null @@ -1,101 +0,0 @@ -/* DuplicateName.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.PortableInterceptor.ORBInitInfoPackage; - -import org.omg.CORBA.UserException; -import org.omg.CORBA.portable.IDLEntity; - -import java.io.Serializable; - -/** - * This exception is raised on an attempt to register a second - * {@link org.omg.PortableInterceptor#Interceptor} with the same name. - * For each {@link org.omg.PortableInterceptor#Interceptor} type, only - * one {@link org.omg.PortableInterceptor#Interceptor} of a given name can - * be registered with the {@link org.omg.CORBA.ORB}. - * - * @see org.omg.PortableInterceptor.ORBInitInfoOperations - * - * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) - */ -public class DuplicateName extends UserException implements IDLEntity, - Serializable -{ - /** - * Use serialVersionUID (v1.4) for interoperability. - */ - private static final long serialVersionUID = 7748239257677851130L; - - /** - * The name that appears to be duplicate. - */ - public String name; - - /** - * Create DuplicateName with no explaining message field {@link #name} - * initialised to null. - */ - public DuplicateName() - { - } - - /** - * Create the DuplicateName with explaining message and field {@link #name} - * initialised to the given value. - * - * @param why a string, explaining, why this exception has been thrown. - * @param a_name a value for name. - */ - public DuplicateName(String why, String a_name) - { - super(why); - this.name = a_name; - } - - /** - * Create the DuplicateName without explaining message and and field - * {@link #name} initialised to the given value. - * - * @param a_name a value for name. - */ - public DuplicateName(String a_name) - { - this.name = a_name; - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java deleted file mode 100644 index a5c83fa80b0..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java +++ /dev/null @@ -1,155 +0,0 @@ -/* DuplicateNameHelper.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.PortableInterceptor.ORBInitInfoPackage; - -import gnu.CORBA.*; - -import org.omg.CORBA.Any; -import org.omg.CORBA.BAD_OPERATION; -import org.omg.CORBA.ORB; -import org.omg.CORBA.StructMember; -import org.omg.CORBA.TCKind; -import org.omg.CORBA.TypeCode; -import org.omg.CORBA.portable.InputStream; -import org.omg.CORBA.portable.OutputStream; - -/** - * The helper operations for the exception {@link DuplicateName}. - * - * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) - */ -public abstract class DuplicateNameHelper -{ - /** - * The cached typecode value, computed only once. - */ - private static TypeCode typeCode; - - /** - * Create the DuplicateName typecode (structure, - * named "DuplicateName"). - * The typecode states that the structure contains the - * following fields: name. - */ - public static TypeCode type() - { - if (typeCode == null) - { - ORB orb = ORB.init(); - StructMember[] members = new StructMember[ 1 ]; - - TypeCode field; - - field = orb.get_primitive_tc(TCKind.tk_string); - members [ 0 ] = new StructMember("name", field, null); - typeCode = orb.create_exception_tc(id(), "DuplicateName", members); - } - return typeCode; - } - - /** - * Insert the DuplicateName into the given Any. - * This method uses the DuplicateNameHolder. - * - * @param any the Any to insert into. - * @param that the DuplicateName to insert. - */ - public static void insert(Any any, DuplicateName that) - { - any.insert_Streamable(new DuplicateNameHolder(that)); - } - - /** - * Extract the DuplicateName from given Any. - * This method uses the DuplicateNameHolder. - * - * @throws BAD_OPERATION if the passed Any does not contain DuplicateName. - */ - public static DuplicateName extract(Any any) - { - try - { - return ((DuplicateNameHolder) any.extract_Streamable()).value; - } - catch (ClassCastException cex) - { - BAD_OPERATION bad = new BAD_OPERATION("DuplicateName expected"); - bad.initCause(cex); - throw bad; - } - } - - /** - * Get the DuplicateName repository id. - * - * @return "IDL:omg.org/PortableInterceptor/ORBInitInfo/DuplicateName:1.0". - */ - public static String id() - { - return "IDL:omg.org/PortableInterceptor/ORBInitInfo/DuplicateName:1.0"; - } - - /** - * Read the exception from the CDR intput stream. - * - * @param input a org.omg.CORBA.portable stream to read from. - */ - public static DuplicateName read(InputStream input) - { - // Read the exception repository id. - String id = input.read_string(); - DuplicateName value = new DuplicateName(); - - value.name = input.read_string(); - return value; - } - - /** - * Write the exception to the CDR output stream. - * - * @param output a org.omg.CORBA.portable stream stream to write into. - * @param value a value to write. - */ - public static void write(OutputStream output, DuplicateName value) - { - // Write the exception repository id. - output.write_string(id()); - output.write_string(value.name); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java deleted file mode 100644 index 17c6c6bc27e..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java +++ /dev/null @@ -1,79 +0,0 @@ -/* InvalidName.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.PortableInterceptor.ORBInitInfoPackage; - -import org.omg.CORBA.UserException; -import org.omg.CORBA.portable.IDLEntity; - -import java.io.Serializable; - -/** - * This exception is raised by methods in - * {@link org.omg.PortableInterceptor.ORBInitInfoOperations} on the attempt to - * register or resolve an invalid name like empty string. The already - * registered names (including the default names, defined by OMG) are also - * invalid for registration. - * - * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) - */ -public class InvalidName extends UserException implements IDLEntity, - Serializable -{ - /** - * Use serialVersionUID (v1.4) for interoperability. - */ - private static final long serialVersionUID = -4599417794753377115L; - - /** - * Create InvalidName with no explaining message. - */ - public InvalidName() - { - } - - /** - * Create the InvalidName with explaining message. - * - * @param why a string, explaining, why the name is invalid. - */ - public InvalidName(String why) - { - super(why); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java deleted file mode 100644 index 7f1132f98a3..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java +++ /dev/null @@ -1,146 +0,0 @@ -/* InvalidNameHelper.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.PortableInterceptor.ORBInitInfoPackage; - -import gnu.CORBA.EmptyExceptionHolder; - -import org.omg.CORBA.Any; -import org.omg.CORBA.BAD_OPERATION; -import org.omg.CORBA.ORB; -import org.omg.CORBA.StructMember; -import org.omg.CORBA.TCKind; -import org.omg.CORBA.TypeCode; -import org.omg.CORBA.portable.InputStream; -import org.omg.CORBA.portable.OutputStream; - -/** - * The helper operations for the exception {@link InvalidName}. - * - * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) - */ -public abstract class InvalidNameHelper -{ - /** - * The cached typecode value, computed only once. - */ - private static TypeCode typeCode; - - /** - * Create the InvalidName typecode (structure, - * named "InvalidName"). - */ - public static TypeCode type() - { - if (typeCode == null) - { - ORB orb = ORB.init(); - StructMember[] members = new StructMember[ 0 ]; - typeCode = orb.create_exception_tc(id(), "InvalidName", members); - } - return typeCode; - } - - /** - * Insert the InvalidName into the given Any. - * - * @param any the Any to insert into. - * @param that the InvalidName to insert. - */ - public static void insert(Any any, InvalidName that) - { - any.insert_Streamable(new EmptyExceptionHolder(that, type())); - } - - /** - * Extract the InvalidName from given Any. - * - * @throws BAD_OPERATION if the passed Any does not contain InvalidName. - */ - public static InvalidName extract(Any any) - { - try - { - EmptyExceptionHolder h = - (EmptyExceptionHolder) any.extract_Streamable(); - return (InvalidName) h.value; - } - catch (ClassCastException cex) - { - BAD_OPERATION bad = new BAD_OPERATION("InvalidName expected"); - bad.initCause(cex); - throw bad; - } - } - - /** - * Get the InvalidName repository id. - * - * @return "IDL:omg.org/PortableInterceptor/ORBInitInfo/InvalidName:1.0". - */ - public static String id() - { - return "IDL:omg.org/PortableInterceptor/ORBInitInfo/InvalidName:1.0"; - } - - /** - * Read the exception from the CDR intput stream. - * - * @param input a org.omg.CORBA.portable stream to read from. - */ - public static InvalidName read(InputStream input) - { - // Read the exception repository id. - String id = input.read_string(); - InvalidName value = new InvalidName(id); - - return value; - } - - /** - * Write the exception to the CDR output stream. - * - * @param output a org.omg.CORBA.portable stream stream to write into. - * @param value a value to write. - */ - public static void write(OutputStream output, InvalidName value) - { - // Write the exception repository id. - output.write_string(id()); - } -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitializer.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitializer.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitializer.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitializerOperations.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitializerOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitializerOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/PolicyFactory.java b/libjava/classpath/org/omg/PortableInterceptor/PolicyFactory.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/PolicyFactory.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/PolicyFactoryOperations.java b/libjava/classpath/org/omg/PortableInterceptor/PolicyFactoryOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/PolicyFactoryOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/RequestInfo.java b/libjava/classpath/org/omg/PortableInterceptor/RequestInfo.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/RequestInfo.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/RequestInfoOperations.java b/libjava/classpath/org/omg/PortableInterceptor/RequestInfoOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/RequestInfoOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/SUCCESSFUL.java b/libjava/classpath/org/omg/PortableInterceptor/SUCCESSFUL.java deleted file mode 100644 index d26e032ab14..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/SUCCESSFUL.java +++ /dev/null @@ -1,54 +0,0 @@ -/* SUCCESSFUL.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.PortableInterceptor; - - -/** - * A reply status flag, indicating, that the remote method - * has been called and returned without exception. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public interface SUCCESSFUL -{ - /** - * Specifies the SUCCESSFUL value, 0. - */ - short value = 0; -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/SYSTEM_EXCEPTION.java b/libjava/classpath/org/omg/PortableInterceptor/SYSTEM_EXCEPTION.java deleted file mode 100644 index 9edf2ba2136..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/SYSTEM_EXCEPTION.java +++ /dev/null @@ -1,55 +0,0 @@ -/* SYSTEM_EXCEPTION.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.PortableInterceptor; - - -/** - * A reply status flag, indicating, that the - * {@link org.omg.CORBA.SystemException} - * has been thrown while calling or from inside the remote method. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public interface SYSTEM_EXCEPTION -{ - /** - * Specifies the SYSTEM_EXCEPTION value, 1. - */ - short value = 1; -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInfo.java b/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInfo.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInfo.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInfoOperations.java b/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInfoOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInfoOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInterceptor.java b/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInterceptor.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInterceptor.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java b/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableInterceptor/TRANSPORT_RETRY.java b/libjava/classpath/org/omg/PortableInterceptor/TRANSPORT_RETRY.java deleted file mode 100644 index 115cad2fc4f..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/TRANSPORT_RETRY.java +++ /dev/null @@ -1,55 +0,0 @@ -/* TRANSPORT_RETRY.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.PortableInterceptor; - - -/** - * A reply status, indicating the necessity of the transport retry. - * This may happen, for example, if the GIOP message status flag - * is equal to NEEDS_ADDRESSING_MODE. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public interface TRANSPORT_RETRY -{ - /** - * Specifies the TRANSPORT_RETRY value, 4. - */ - short value = 4; -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/USER_EXCEPTION.java b/libjava/classpath/org/omg/PortableInterceptor/USER_EXCEPTION.java deleted file mode 100644 index 02c9535b4f3..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/USER_EXCEPTION.java +++ /dev/null @@ -1,55 +0,0 @@ -/* USER_EXCEPTION.java -- - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package org.omg.PortableInterceptor; - - -/** - * A reply status flag, indicating, that the - * {@link org.omg.CORBA.UserException} - * has been thrown from inside the remote method. - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public interface USER_EXCEPTION -{ - /** - * Specifies the USER_EXCEPTION value, 2. - */ - short value = 2; -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/package.html b/libjava/classpath/org/omg/PortableInterceptor/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/AdapterActivator.java b/libjava/classpath/org/omg/PortableServer/AdapterActivator.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/AdapterActivator.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/AdapterActivatorOperations.java b/libjava/classpath/org/omg/PortableServer/AdapterActivatorOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/AdapterActivatorOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/Current.java b/libjava/classpath/org/omg/PortableServer/Current.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/Current.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/CurrentHelper.java b/libjava/classpath/org/omg/PortableServer/CurrentHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/CurrentHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/CurrentOperations.java b/libjava/classpath/org/omg/PortableServer/CurrentOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/CurrentOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/CurrentPackage/NoContext.java b/libjava/classpath/org/omg/PortableServer/CurrentPackage/NoContext.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/CurrentPackage/NoContext.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/CurrentPackage/NoContextHelper.java b/libjava/classpath/org/omg/PortableServer/CurrentPackage/NoContextHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/CurrentPackage/NoContextHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/DynamicImplementation.java b/libjava/classpath/org/omg/PortableServer/DynamicImplementation.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/DynamicImplementation.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ForwardRequest.java b/libjava/classpath/org/omg/PortableServer/ForwardRequest.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ForwardRequest.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ForwardRequestHelper.java b/libjava/classpath/org/omg/PortableServer/ForwardRequestHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ForwardRequestHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ID_ASSIGNMENT_POLICY_ID.java b/libjava/classpath/org/omg/PortableServer/ID_ASSIGNMENT_POLICY_ID.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ID_ASSIGNMENT_POLICY_ID.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java b/libjava/classpath/org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java b/libjava/classpath/org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/IdAssignmentPolicy.java b/libjava/classpath/org/omg/PortableServer/IdAssignmentPolicy.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/IdAssignmentPolicy.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/IdAssignmentPolicyOperations.java b/libjava/classpath/org/omg/PortableServer/IdAssignmentPolicyOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/IdAssignmentPolicyOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/IdAssignmentPolicyValue.java b/libjava/classpath/org/omg/PortableServer/IdAssignmentPolicyValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/IdAssignmentPolicyValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/IdUniquenessPolicy.java b/libjava/classpath/org/omg/PortableServer/IdUniquenessPolicy.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/IdUniquenessPolicy.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/IdUniquenessPolicyOperations.java b/libjava/classpath/org/omg/PortableServer/IdUniquenessPolicyOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/IdUniquenessPolicyOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/IdUniquenessPolicyValue.java b/libjava/classpath/org/omg/PortableServer/IdUniquenessPolicyValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/IdUniquenessPolicyValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ImplicitActivationPolicy.java b/libjava/classpath/org/omg/PortableServer/ImplicitActivationPolicy.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ImplicitActivationPolicy.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ImplicitActivationPolicyOperations.java b/libjava/classpath/org/omg/PortableServer/ImplicitActivationPolicyOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ImplicitActivationPolicyOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ImplicitActivationPolicyValue.java b/libjava/classpath/org/omg/PortableServer/ImplicitActivationPolicyValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ImplicitActivationPolicyValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/LIFESPAN_POLICY_ID.java b/libjava/classpath/org/omg/PortableServer/LIFESPAN_POLICY_ID.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/LIFESPAN_POLICY_ID.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/LifespanPolicy.java b/libjava/classpath/org/omg/PortableServer/LifespanPolicy.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/LifespanPolicy.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/LifespanPolicyOperations.java b/libjava/classpath/org/omg/PortableServer/LifespanPolicyOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/LifespanPolicyOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/LifespanPolicyValue.java b/libjava/classpath/org/omg/PortableServer/LifespanPolicyValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/LifespanPolicyValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POA.java b/libjava/classpath/org/omg/PortableServer/POA.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POA.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAHelper.java b/libjava/classpath/org/omg/PortableServer/POAHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAManager.java b/libjava/classpath/org/omg/PortableServer/POAManager.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAManager.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAManagerOperations.java b/libjava/classpath/org/omg/PortableServer/POAManagerOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAManagerOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAManagerPackage/AdapterInactive.java b/libjava/classpath/org/omg/PortableServer/POAManagerPackage/AdapterInactive.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAManagerPackage/AdapterInactive.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java b/libjava/classpath/org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAManagerPackage/State.java b/libjava/classpath/org/omg/PortableServer/POAManagerPackage/State.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAManagerPackage/State.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAManagerPackage/package.html b/libjava/classpath/org/omg/PortableServer/POAManagerPackage/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAManagerPackage/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAOperations.java b/libjava/classpath/org/omg/PortableServer/POAOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java b/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java b/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterNonExistent.java b/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterNonExistent.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterNonExistent.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java b/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/InvalidPolicy.java b/libjava/classpath/org/omg/PortableServer/POAPackage/InvalidPolicy.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/InvalidPolicy.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java b/libjava/classpath/org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/NoServant.java b/libjava/classpath/org/omg/PortableServer/POAPackage/NoServant.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/NoServant.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/NoServantHelper.java b/libjava/classpath/org/omg/PortableServer/POAPackage/NoServantHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/NoServantHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectNotActive.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectNotActive.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectNotActive.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantAlreadyActive.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ServantAlreadyActive.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantAlreadyActive.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantNotActive.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ServantNotActive.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantNotActive.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongAdapter.java b/libjava/classpath/org/omg/PortableServer/POAPackage/WrongAdapter.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongAdapter.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongAdapterHelper.java b/libjava/classpath/org/omg/PortableServer/POAPackage/WrongAdapterHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongAdapterHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongPolicy.java b/libjava/classpath/org/omg/PortableServer/POAPackage/WrongPolicy.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongPolicy.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongPolicyHelper.java b/libjava/classpath/org/omg/PortableServer/POAPackage/WrongPolicyHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongPolicyHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/package.html b/libjava/classpath/org/omg/PortableServer/POAPackage/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/REQUEST_PROCESSING_POLICY_ID.java b/libjava/classpath/org/omg/PortableServer/REQUEST_PROCESSING_POLICY_ID.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/REQUEST_PROCESSING_POLICY_ID.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/RequestProcessingPolicy.java b/libjava/classpath/org/omg/PortableServer/RequestProcessingPolicy.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/RequestProcessingPolicy.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/RequestProcessingPolicyOperations.java b/libjava/classpath/org/omg/PortableServer/RequestProcessingPolicyOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/RequestProcessingPolicyOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/RequestProcessingPolicyValue.java b/libjava/classpath/org/omg/PortableServer/RequestProcessingPolicyValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/RequestProcessingPolicyValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/SERVANT_RETENTION_POLICY_ID.java b/libjava/classpath/org/omg/PortableServer/SERVANT_RETENTION_POLICY_ID.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/SERVANT_RETENTION_POLICY_ID.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/Servant.java b/libjava/classpath/org/omg/PortableServer/Servant.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/Servant.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantActivator.java b/libjava/classpath/org/omg/PortableServer/ServantActivator.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantActivator.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantActivatorHelper.java b/libjava/classpath/org/omg/PortableServer/ServantActivatorHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantActivatorHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantActivatorOperations.java b/libjava/classpath/org/omg/PortableServer/ServantActivatorOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantActivatorOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantActivatorPOA.java b/libjava/classpath/org/omg/PortableServer/ServantActivatorPOA.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantActivatorPOA.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantLocator.java b/libjava/classpath/org/omg/PortableServer/ServantLocator.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantLocator.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantLocatorHelper.java b/libjava/classpath/org/omg/PortableServer/ServantLocatorHelper.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantLocatorHelper.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantLocatorOperations.java b/libjava/classpath/org/omg/PortableServer/ServantLocatorOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantLocatorOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java b/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java b/libjava/classpath/org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantLocatorPackage/package.html b/libjava/classpath/org/omg/PortableServer/ServantLocatorPackage/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantLocatorPackage/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantManager.java b/libjava/classpath/org/omg/PortableServer/ServantManager.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantManager.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantManagerOperations.java b/libjava/classpath/org/omg/PortableServer/ServantManagerOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantManagerOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantRetentionPolicy.java b/libjava/classpath/org/omg/PortableServer/ServantRetentionPolicy.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantRetentionPolicy.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantRetentionPolicyOperations.java b/libjava/classpath/org/omg/PortableServer/ServantRetentionPolicyOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantRetentionPolicyOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ServantRetentionPolicyValue.java b/libjava/classpath/org/omg/PortableServer/ServantRetentionPolicyValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ServantRetentionPolicyValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/THREAD_POLICY_ID.java b/libjava/classpath/org/omg/PortableServer/THREAD_POLICY_ID.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/THREAD_POLICY_ID.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ThreadPolicy.java b/libjava/classpath/org/omg/PortableServer/ThreadPolicy.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ThreadPolicy.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ThreadPolicyOperations.java b/libjava/classpath/org/omg/PortableServer/ThreadPolicyOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ThreadPolicyOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/ThreadPolicyValue.java b/libjava/classpath/org/omg/PortableServer/ThreadPolicyValue.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/ThreadPolicyValue.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/_ServantActivatorStub.java b/libjava/classpath/org/omg/PortableServer/_ServantActivatorStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/_ServantActivatorStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/_ServantLocatorStub.java b/libjava/classpath/org/omg/PortableServer/_ServantLocatorStub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/_ServantLocatorStub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/package.html b/libjava/classpath/org/omg/PortableServer/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/PortableServer/portable/Delegate.java b/libjava/classpath/org/omg/PortableServer/portable/Delegate.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/PortableServer/portable/Delegate.java +++ /dev/null diff --git a/libjava/classpath/org/omg/SendingContext/RunTime.java b/libjava/classpath/org/omg/SendingContext/RunTime.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/SendingContext/RunTime.java +++ /dev/null diff --git a/libjava/classpath/org/omg/SendingContext/RunTimeOperations.java b/libjava/classpath/org/omg/SendingContext/RunTimeOperations.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/SendingContext/RunTimeOperations.java +++ /dev/null diff --git a/libjava/classpath/org/omg/SendingContext/package.html b/libjava/classpath/org/omg/SendingContext/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/SendingContext/package.html +++ /dev/null diff --git a/libjava/classpath/org/omg/stub/java/rmi/_Remote_Stub.java b/libjava/classpath/org/omg/stub/java/rmi/_Remote_Stub.java deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/stub/java/rmi/_Remote_Stub.java +++ /dev/null diff --git a/libjava/classpath/org/omg/stub/java/rmi/package.html b/libjava/classpath/org/omg/stub/java/rmi/package.html deleted file mode 100644 index e69de29bb2d..00000000000 --- a/libjava/classpath/org/omg/stub/java/rmi/package.html +++ /dev/null |