diff options
author | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-18 17:29:21 +0000 |
---|---|---|
committer | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-18 17:29:21 +0000 |
commit | 64089cc9f030d8ef7972adb5d117e0b23f47d62b (patch) | |
tree | 9f9c470de62ee62fba1331a396450d728d2b1fad /libjava/classpath/org | |
parent | 96034e28360d660d7a7708807fcbc4b519574d8e (diff) | |
download | gcc-64089cc9f030d8ef7972adb5d117e0b23f47d62b.tar.gz |
Imported GNU Classpath 0.90
* scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
* sources.am: Regenerated.
* gcj/javaprims.h: Regenerated.
* Makefile.in: Regenerated.
* gcj/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
* gnu/java/lang/VMInstrumentationImpl.java: New override.
* gnu/java/net/local/LocalSocketImpl.java: Likewise.
* gnu/classpath/jdwp/VMMethod.java: Likewise.
* gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
interface.
* java/lang/Thread.java: Add UncaughtExceptionHandler.
* java/lang/reflect/Method.java: Implements GenericDeclaration and
isSynthetic(),
* java/lang/reflect/Field.java: Likewise.
* java/lang/reflect/Constructor.java
* java/lang/Class.java: Implements Type, GenericDeclaration,
getSimpleName() and getEnclosing*() methods.
* java/lang/Class.h: Add new public methods.
* java/lang/Math.java: Add signum(), ulp() and log10().
* java/lang/natMath.cc (log10): New function.
* java/security/VMSecureRandom.java: New override.
* java/util/logging/Logger.java: Updated to latest classpath
version.
* java/util/logging/LogManager.java: New override.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113887 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/org')
124 files changed, 4172 insertions, 595 deletions
diff --git a/libjava/classpath/org/omg/CORBA/ACTIVITY_COMPLETED.java b/libjava/classpath/org/omg/CORBA/ACTIVITY_COMPLETED.java index ea234e620c8..5fb03533a96 100644 --- a/libjava/classpath/org/omg/CORBA/ACTIVITY_COMPLETED.java +++ b/libjava/classpath/org/omg/CORBA/ACTIVITY_COMPLETED.java @@ -1,5 +1,5 @@ /* ACTIVITY_COMPLETED.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -51,7 +51,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ACTIVITY_COMPLETED +public final class ACTIVITY_COMPLETED extends SystemException implements Serializable { @@ -63,7 +63,7 @@ public class ACTIVITY_COMPLETED /** * Creates ACTIVITY_COMPLETED with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reason the explaining message. + * @param message the explaining message. */ public ACTIVITY_COMPLETED(String message) { diff --git a/libjava/classpath/org/omg/CORBA/ACTIVITY_REQUIRED.java b/libjava/classpath/org/omg/CORBA/ACTIVITY_REQUIRED.java index c0c72b524b1..eeec38254d3 100644 --- a/libjava/classpath/org/omg/CORBA/ACTIVITY_REQUIRED.java +++ b/libjava/classpath/org/omg/CORBA/ACTIVITY_REQUIRED.java @@ -1,5 +1,5 @@ /* ACTIVITY_REQUIRED.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ACTIVITY_REQUIRED +public final class ACTIVITY_REQUIRED extends SystemException implements Serializable { @@ -61,7 +61,7 @@ public class ACTIVITY_REQUIRED /** * Creates ACTIVITY_REQUIRED with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reason the explaining message. + * @param message the explaining message. */ public ACTIVITY_REQUIRED(String message) { diff --git a/libjava/classpath/org/omg/CORBA/BAD_CONTEXT.java b/libjava/classpath/org/omg/CORBA/BAD_CONTEXT.java index 139262d6428..398da9e5957 100644 --- a/libjava/classpath/org/omg/CORBA/BAD_CONTEXT.java +++ b/libjava/classpath/org/omg/CORBA/BAD_CONTEXT.java @@ -1,5 +1,5 @@ /* BAD_CONTEXT.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -46,7 +46,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class BAD_CONTEXT +public final class BAD_CONTEXT extends SystemException implements Serializable { @@ -58,7 +58,7 @@ public class BAD_CONTEXT /** * Creates a BAD_CONTEXT with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public BAD_CONTEXT(String message) { diff --git a/libjava/classpath/org/omg/CORBA/BAD_INV_ORDER.java b/libjava/classpath/org/omg/CORBA/BAD_INV_ORDER.java index 0f585cd91aa..9390600b73d 100644 --- a/libjava/classpath/org/omg/CORBA/BAD_INV_ORDER.java +++ b/libjava/classpath/org/omg/CORBA/BAD_INV_ORDER.java @@ -1,5 +1,5 @@ /* BAD_INV_ORDER.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class BAD_INV_ORDER +public final class BAD_INV_ORDER extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class BAD_INV_ORDER /** * Creates a BAD_INV_ORDER with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public BAD_INV_ORDER(String message) { diff --git a/libjava/classpath/org/omg/CORBA/BAD_OPERATION.java b/libjava/classpath/org/omg/CORBA/BAD_OPERATION.java index 2649f2a6dc4..b8489072481 100755 --- a/libjava/classpath/org/omg/CORBA/BAD_OPERATION.java +++ b/libjava/classpath/org/omg/CORBA/BAD_OPERATION.java @@ -1,5 +1,5 @@ /* BAD_OPERATION.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -114,7 +114,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class BAD_OPERATION +public final class BAD_OPERATION extends SystemException implements Serializable { @@ -127,7 +127,7 @@ public class BAD_OPERATION * Creates a BAD_OPERATION with the default minor code of 0, completion state * COMPLETED_NO and the given explaining message. * - * @param reasom the explaining message. + * @param message the explaining message. */ public BAD_OPERATION(String message) { diff --git a/libjava/classpath/org/omg/CORBA/BAD_PARAM.java b/libjava/classpath/org/omg/CORBA/BAD_PARAM.java index 848f43b43d9..2102193e5d2 100644 --- a/libjava/classpath/org/omg/CORBA/BAD_PARAM.java +++ b/libjava/classpath/org/omg/CORBA/BAD_PARAM.java @@ -1,5 +1,5 @@ /* BAD_PARAM.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,14 +45,14 @@ import java.io.Serializable; * illegal. * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class BAD_PARAM +public final class BAD_PARAM extends SystemException implements Serializable { /** * Creates BAD_PARAM with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public BAD_PARAM(String message) { diff --git a/libjava/classpath/org/omg/CORBA/BAD_QOS.java b/libjava/classpath/org/omg/CORBA/BAD_QOS.java index ba8a0df3248..c7ceb692470 100644 --- a/libjava/classpath/org/omg/CORBA/BAD_QOS.java +++ b/libjava/classpath/org/omg/CORBA/BAD_QOS.java @@ -1,5 +1,5 @@ /* BAD_QOS.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class BAD_QOS +public final class BAD_QOS extends SystemException implements Serializable { @@ -60,7 +60,7 @@ public class BAD_QOS /** * Creates BAD_QOS with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reason the explaining message. + * @param message the explaining message. */ public BAD_QOS(String message) { diff --git a/libjava/classpath/org/omg/CORBA/BAD_TYPECODE.java b/libjava/classpath/org/omg/CORBA/BAD_TYPECODE.java index 96ad21ef9e5..8aa5eb59ca5 100644 --- a/libjava/classpath/org/omg/CORBA/BAD_TYPECODE.java +++ b/libjava/classpath/org/omg/CORBA/BAD_TYPECODE.java @@ -1,5 +1,5 @@ /* BAD_TYPECODE.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -46,7 +46,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class BAD_TYPECODE +public final class BAD_TYPECODE extends SystemException implements Serializable { @@ -58,7 +58,7 @@ public class BAD_TYPECODE /** * Creates a BAD_TYPECODE with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public BAD_TYPECODE(String message) { diff --git a/libjava/classpath/org/omg/CORBA/CODESET_INCOMPATIBLE.java b/libjava/classpath/org/omg/CORBA/CODESET_INCOMPATIBLE.java index 41ccaf49248..fc285baff3d 100644 --- a/libjava/classpath/org/omg/CORBA/CODESET_INCOMPATIBLE.java +++ b/libjava/classpath/org/omg/CORBA/CODESET_INCOMPATIBLE.java @@ -1,5 +1,5 @@ /* CODESET_INCOMPATIBLE.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -43,16 +43,16 @@ import java.io.Serializable; /** * Raised when client and server are unable to reach any consensus on which * code set should be used to represent the characters. This happens when - * neither server nor client cannot convert from the native code set of the + * neither server nor client can convert from the native code set of the * corresponding side, there is no shared codeset from that both sides could - * convert and additionally the client and server* native sets are too - * different to communicate anyway without the massive data loss. + * convert and additionally the client and server native code sets are too + * different to communicate anyway without massive data loss. * * @since 1.5 * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class CODESET_INCOMPATIBLE +public final class CODESET_INCOMPATIBLE extends SystemException implements Serializable { @@ -64,7 +64,7 @@ public class CODESET_INCOMPATIBLE /** * Creates CODESET_INCOMPATIBLE with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reason the explaining message. + * @param message the explaining message. */ public CODESET_INCOMPATIBLE(String message) { diff --git a/libjava/classpath/org/omg/CORBA/COMM_FAILURE.java b/libjava/classpath/org/omg/CORBA/COMM_FAILURE.java index 3c50441326f..047d20e6c11 100644 --- a/libjava/classpath/org/omg/CORBA/COMM_FAILURE.java +++ b/libjava/classpath/org/omg/CORBA/COMM_FAILURE.java @@ -1,5 +1,5 @@ /* COMM_FAILURE.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -46,7 +46,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class COMM_FAILURE +public final class COMM_FAILURE extends SystemException implements Serializable { @@ -58,7 +58,7 @@ public class COMM_FAILURE /** * Creates a COMM_FAILURE with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public COMM_FAILURE(String message) { diff --git a/libjava/classpath/org/omg/CORBA/CompletionStatus.java b/libjava/classpath/org/omg/CORBA/CompletionStatus.java index 1ddcca2877a..52f6f078d00 100644 --- a/libjava/classpath/org/omg/CORBA/CompletionStatus.java +++ b/libjava/classpath/org/omg/CORBA/CompletionStatus.java @@ -1,5 +1,5 @@ /* CompletionStatus.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import org.omg.CORBA.portable.IDLEntity; * when the exception has been thrown. * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class CompletionStatus +public final class CompletionStatus implements Serializable, IDLEntity { /** diff --git a/libjava/classpath/org/omg/CORBA/CurrentHolder.java b/libjava/classpath/org/omg/CORBA/CurrentHolder.java index 83e5365d6a3..c7c1b32d291 100644 --- a/libjava/classpath/org/omg/CORBA/CurrentHolder.java +++ b/libjava/classpath/org/omg/CORBA/CurrentHolder.java @@ -1,5 +1,5 @@ /* CurrentHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class CurrentHolder +public final class CurrentHolder implements Streamable { /** @@ -56,7 +56,7 @@ public class CurrentHolder public Current value; /** - * Create the unitialised instance, leaving the value field + * Create the uninitialised instance, leaving the value field * with default <code>null</code> value. */ public CurrentHolder() @@ -74,7 +74,7 @@ public class CurrentHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/CORBA/DATA_CONVERSION.java b/libjava/classpath/org/omg/CORBA/DATA_CONVERSION.java index 7261aae4684..7ca83f3c2d6 100644 --- a/libjava/classpath/org/omg/CORBA/DATA_CONVERSION.java +++ b/libjava/classpath/org/omg/CORBA/DATA_CONVERSION.java @@ -1,5 +1,5 @@ /* DATA_CONVERSION.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -66,7 +66,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class DATA_CONVERSION +public final class DATA_CONVERSION extends SystemException implements Serializable { @@ -78,7 +78,7 @@ public class DATA_CONVERSION /** * Creates a DATA_CONVERSION with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public DATA_CONVERSION(String message) { diff --git a/libjava/classpath/org/omg/CORBA/DynAnyPackage/Invalid.java b/libjava/classpath/org/omg/CORBA/DynAnyPackage/Invalid.java index dc66bea654b..cc232c4ead2 100644 --- a/libjava/classpath/org/omg/CORBA/DynAnyPackage/Invalid.java +++ b/libjava/classpath/org/omg/CORBA/DynAnyPackage/Invalid.java @@ -1,5 +1,5 @@ /* Invalid.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import org.omg.CORBA.portable.IDLEntity; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class Invalid +public final class Invalid extends UserException implements Serializable, IDLEntity { diff --git a/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidSeq.java b/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidSeq.java index ef0179e9da2..0904866ca7a 100644 --- a/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidSeq.java +++ b/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidSeq.java @@ -1,5 +1,5 @@ /* InvalidSeq.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import org.omg.CORBA.portable.IDLEntity; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class InvalidSeq +public final class InvalidSeq extends UserException implements Serializable, IDLEntity { diff --git a/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidValue.java b/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidValue.java index 0c5ddf96d46..c2c4394ad46 100644 --- a/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidValue.java +++ b/libjava/classpath/org/omg/CORBA/DynAnyPackage/InvalidValue.java @@ -1,5 +1,5 @@ /* InvalidValue.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import org.omg.CORBA.portable.IDLEntity; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class InvalidValue +public final class InvalidValue extends UserException implements Serializable, IDLEntity { diff --git a/libjava/classpath/org/omg/CORBA/DynAnyPackage/TypeMismatch.java b/libjava/classpath/org/omg/CORBA/DynAnyPackage/TypeMismatch.java index f4e9877c505..f1dfd5d41fa 100644 --- a/libjava/classpath/org/omg/CORBA/DynAnyPackage/TypeMismatch.java +++ b/libjava/classpath/org/omg/CORBA/DynAnyPackage/TypeMismatch.java @@ -1,5 +1,5 @@ /* TypeMismatch.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import org.omg.CORBA.portable.IDLEntity; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class TypeMismatch +public final class TypeMismatch extends UserException implements Serializable, IDLEntity { diff --git a/libjava/classpath/org/omg/CORBA/FREE_MEM.java b/libjava/classpath/org/omg/CORBA/FREE_MEM.java index 5de665cb8a0..ec1aa082928 100644 --- a/libjava/classpath/org/omg/CORBA/FREE_MEM.java +++ b/libjava/classpath/org/omg/CORBA/FREE_MEM.java @@ -1,5 +1,5 @@ /* FREE_MEM.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -41,11 +41,11 @@ package org.omg.CORBA; import java.io.Serializable; /** - * Means errors, related to freing the allocated memory. + * Means errors, related to freeing the allocated memory. * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class FREE_MEM +public final class FREE_MEM extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class FREE_MEM /** * Creates a FREE_MEM with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public FREE_MEM(String message) { diff --git a/libjava/classpath/org/omg/CORBA/IMP_LIMIT.java b/libjava/classpath/org/omg/CORBA/IMP_LIMIT.java index e61681c3293..b36d69e0ca6 100644 --- a/libjava/classpath/org/omg/CORBA/IMP_LIMIT.java +++ b/libjava/classpath/org/omg/CORBA/IMP_LIMIT.java @@ -1,5 +1,5 @@ /* IMP_LIMIT.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -41,12 +41,12 @@ package org.omg.CORBA; import java.io.Serializable; /** - * Means that the server have reached some implementation limit + * Means that the server has reached some implementation limit * (too many clients, too many references, too long parameters and so on). * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class IMP_LIMIT +public final class IMP_LIMIT extends SystemException implements Serializable { @@ -58,7 +58,7 @@ public class IMP_LIMIT /** * Creates a IMP_LIMIT with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public IMP_LIMIT(String message) { diff --git a/libjava/classpath/org/omg/CORBA/INITIALIZE.java b/libjava/classpath/org/omg/CORBA/INITIALIZE.java index f697e583368..b42739accc1 100644 --- a/libjava/classpath/org/omg/CORBA/INITIALIZE.java +++ b/libjava/classpath/org/omg/CORBA/INITIALIZE.java @@ -1,5 +1,5 @@ /* INITIALIZE.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -41,11 +41,11 @@ package org.omg.CORBA; import java.io.Serializable; /** - * Mans that the server cannot be initialized because of the some reason. + * Means that the server cannot be initialized because of the some reason. * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class INITIALIZE +public final class INITIALIZE extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class INITIALIZE /** * Creates a INITIALIZE with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public INITIALIZE(String message) { diff --git a/libjava/classpath/org/omg/CORBA/INTERNAL.java b/libjava/classpath/org/omg/CORBA/INTERNAL.java index a49041e57a9..b8be638359e 100644 --- a/libjava/classpath/org/omg/CORBA/INTERNAL.java +++ b/libjava/classpath/org/omg/CORBA/INTERNAL.java @@ -1,5 +1,5 @@ /* INTERNAL.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -41,11 +41,11 @@ package org.omg.CORBA; import java.io.Serializable; /** - * Means the internal failure in ORB. + * Means an internal failure in the ORB. * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class INTERNAL +public final class INTERNAL extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class INTERNAL /** * Creates a INTERNAL with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public INTERNAL(String message) { diff --git a/libjava/classpath/org/omg/CORBA/INTF_REPOS.java b/libjava/classpath/org/omg/CORBA/INTF_REPOS.java index e879c0b1eff..b7b6fe3fd98 100644 --- a/libjava/classpath/org/omg/CORBA/INTF_REPOS.java +++ b/libjava/classpath/org/omg/CORBA/INTF_REPOS.java @@ -1,5 +1,5 @@ /* INTF_REPOS.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class INTF_REPOS +public final class INTF_REPOS extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class INTF_REPOS /** * Creates a INTF_REPOS with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public INTF_REPOS(String message) { diff --git a/libjava/classpath/org/omg/CORBA/INVALID_ACTIVITY.java b/libjava/classpath/org/omg/CORBA/INVALID_ACTIVITY.java index ae1d92dd7b5..eb4f69af1b6 100644 --- a/libjava/classpath/org/omg/CORBA/INVALID_ACTIVITY.java +++ b/libjava/classpath/org/omg/CORBA/INVALID_ACTIVITY.java @@ -1,5 +1,5 @@ /* INVALID_ACTIVITY.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class INVALID_ACTIVITY +public final class INVALID_ACTIVITY extends SystemException implements Serializable { @@ -61,7 +61,7 @@ public class INVALID_ACTIVITY /** * Creates INVALID_ACTIVITY with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reason the explaining message. + * @param message the explaining message. */ public INVALID_ACTIVITY(String message) { diff --git a/libjava/classpath/org/omg/CORBA/INVALID_TRANSACTION.java b/libjava/classpath/org/omg/CORBA/INVALID_TRANSACTION.java index 98cef83044f..08082d1f52c 100644 --- a/libjava/classpath/org/omg/CORBA/INVALID_TRANSACTION.java +++ b/libjava/classpath/org/omg/CORBA/INVALID_TRANSACTION.java @@ -1,5 +1,5 @@ /* INVALID_TRANSACTION.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class INVALID_TRANSACTION +public final class INVALID_TRANSACTION extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class INVALID_TRANSACTION /** * Creates a INVALID_TRANSACTION with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public INVALID_TRANSACTION(String message) { diff --git a/libjava/classpath/org/omg/CORBA/INV_FLAG.java b/libjava/classpath/org/omg/CORBA/INV_FLAG.java index 7766a3cd058..92b1cd12fee 100644 --- a/libjava/classpath/org/omg/CORBA/INV_FLAG.java +++ b/libjava/classpath/org/omg/CORBA/INV_FLAG.java @@ -1,5 +1,5 @@ /* INV_FLAG.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class INV_FLAG +public final class INV_FLAG extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class INV_FLAG /** * Creates a INV_FLAG with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public INV_FLAG(String message) { diff --git a/libjava/classpath/org/omg/CORBA/INV_IDENT.java b/libjava/classpath/org/omg/CORBA/INV_IDENT.java index ca61a0a2412..89a59448d5e 100644 --- a/libjava/classpath/org/omg/CORBA/INV_IDENT.java +++ b/libjava/classpath/org/omg/CORBA/INV_IDENT.java @@ -1,5 +1,5 @@ /* INV_IDENT.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class INV_IDENT +public final class INV_IDENT extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class INV_IDENT /** * Creates a INV_IDENT with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public INV_IDENT(String message) { diff --git a/libjava/classpath/org/omg/CORBA/INV_OBJREF.java b/libjava/classpath/org/omg/CORBA/INV_OBJREF.java index ca8e059d484..8b6368b7726 100644 --- a/libjava/classpath/org/omg/CORBA/INV_OBJREF.java +++ b/libjava/classpath/org/omg/CORBA/INV_OBJREF.java @@ -1,5 +1,5 @@ /* INV_OBJREF.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class INV_OBJREF +public final class INV_OBJREF extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class INV_OBJREF /** * Creates a INV_OBJREF with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public INV_OBJREF(String message) { diff --git a/libjava/classpath/org/omg/CORBA/INV_POLICY.java b/libjava/classpath/org/omg/CORBA/INV_POLICY.java index f4ff245cf24..5b74e500aa4 100644 --- a/libjava/classpath/org/omg/CORBA/INV_POLICY.java +++ b/libjava/classpath/org/omg/CORBA/INV_POLICY.java @@ -1,5 +1,5 @@ /* INV_POLICY.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class INV_POLICY +public final class INV_POLICY extends SystemException implements Serializable { @@ -59,7 +59,7 @@ public class INV_POLICY /** * Creates a INV_POLICY with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public INV_POLICY(String message) { diff --git a/libjava/classpath/org/omg/CORBA/MARSHAL.java b/libjava/classpath/org/omg/CORBA/MARSHAL.java index 2cd92f5a626..b031acfd328 100644 --- a/libjava/classpath/org/omg/CORBA/MARSHAL.java +++ b/libjava/classpath/org/omg/CORBA/MARSHAL.java @@ -1,5 +1,5 @@ /* MARSHAL.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -268,7 +268,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class MARSHAL +public final class MARSHAL extends SystemException implements Serializable { @@ -281,7 +281,7 @@ public class MARSHAL * Creates a MARSHAL with the default minor code of 0, completion state * COMPLETED_NO and the given explaining message. * - * @param reasom the explaining message. + * @param message the explaining message. */ public MARSHAL(String message) { diff --git a/libjava/classpath/org/omg/CORBA/NO_IMPLEMENT.java b/libjava/classpath/org/omg/CORBA/NO_IMPLEMENT.java index 7ffbca49dd9..1041f200702 100644 --- a/libjava/classpath/org/omg/CORBA/NO_IMPLEMENT.java +++ b/libjava/classpath/org/omg/CORBA/NO_IMPLEMENT.java @@ -1,5 +1,5 @@ /* NO_IMPLEMENT.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -46,7 +46,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class NO_IMPLEMENT +public final class NO_IMPLEMENT extends SystemException implements Serializable { @@ -58,7 +58,7 @@ public class NO_IMPLEMENT /** * Creates a NO_IMPLEMENT with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public NO_IMPLEMENT(String message) { diff --git a/libjava/classpath/org/omg/CORBA/NO_MEMORY.java b/libjava/classpath/org/omg/CORBA/NO_MEMORY.java index e09b4f1afac..276cb54f5a5 100644 --- a/libjava/classpath/org/omg/CORBA/NO_MEMORY.java +++ b/libjava/classpath/org/omg/CORBA/NO_MEMORY.java @@ -1,5 +1,5 @@ /* NO_MEMORY.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class NO_MEMORY +public final class NO_MEMORY extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class NO_MEMORY /** * Creates a NO_MEMORY with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public NO_MEMORY(String message) { diff --git a/libjava/classpath/org/omg/CORBA/NO_PERMISSION.java b/libjava/classpath/org/omg/CORBA/NO_PERMISSION.java index dbeaa33eb04..8e781842d71 100644 --- a/libjava/classpath/org/omg/CORBA/NO_PERMISSION.java +++ b/libjava/classpath/org/omg/CORBA/NO_PERMISSION.java @@ -1,5 +1,5 @@ /* NO_PERMISSION.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class NO_PERMISSION +public final class NO_PERMISSION extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class NO_PERMISSION /** * Creates a NO_PERMISSION with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public NO_PERMISSION(String message) { diff --git a/libjava/classpath/org/omg/CORBA/NO_RESOURCES.java b/libjava/classpath/org/omg/CORBA/NO_RESOURCES.java index 013bdb674ce..14981b3aa77 100644 --- a/libjava/classpath/org/omg/CORBA/NO_RESOURCES.java +++ b/libjava/classpath/org/omg/CORBA/NO_RESOURCES.java @@ -1,5 +1,5 @@ /* NO_RESOURCES.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -76,7 +76,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class NO_RESOURCES +public final class NO_RESOURCES extends SystemException implements Serializable { @@ -89,7 +89,7 @@ public class NO_RESOURCES * Creates a NO_RESOURCES with the default minor code of 0, completion state * COMPLETED_NO and the given explaining message. * - * @param reasom the explaining message. + * @param message the explaining message. */ public NO_RESOURCES(String message) { diff --git a/libjava/classpath/org/omg/CORBA/NO_RESPONSE.java b/libjava/classpath/org/omg/CORBA/NO_RESPONSE.java index 0c31cfbee78..afed988526d 100644 --- a/libjava/classpath/org/omg/CORBA/NO_RESPONSE.java +++ b/libjava/classpath/org/omg/CORBA/NO_RESPONSE.java @@ -1,5 +1,5 @@ /* NO_RESPONSE.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -46,7 +46,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class NO_RESPONSE +public final class NO_RESPONSE extends SystemException implements Serializable { @@ -58,7 +58,7 @@ public class NO_RESPONSE /** * Creates a NO_RESPONSE with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public NO_RESPONSE(String message) { diff --git a/libjava/classpath/org/omg/CORBA/OBJECT_NOT_EXIST.java b/libjava/classpath/org/omg/CORBA/OBJECT_NOT_EXIST.java index aa8571dcb41..549ac64d1bf 100644 --- a/libjava/classpath/org/omg/CORBA/OBJECT_NOT_EXIST.java +++ b/libjava/classpath/org/omg/CORBA/OBJECT_NOT_EXIST.java @@ -1,5 +1,5 @@ /* OBJECT_NOT_EXIST.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -41,10 +41,10 @@ package org.omg.CORBA; import java.io.Serializable; /** - * Means an attempt to perform some operation of the deleted object. + * Means an attempt to perform some operation on a deleted object. * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class OBJECT_NOT_EXIST +public final class OBJECT_NOT_EXIST extends SystemException implements Serializable { @@ -56,7 +56,7 @@ public class OBJECT_NOT_EXIST /** * Creates a OBJECT_NOT_EXIST with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public OBJECT_NOT_EXIST(String message) { diff --git a/libjava/classpath/org/omg/CORBA/OBJ_ADAPTER.java b/libjava/classpath/org/omg/CORBA/OBJ_ADAPTER.java index 36c54b28662..f1b25a4c4dc 100644 --- a/libjava/classpath/org/omg/CORBA/OBJ_ADAPTER.java +++ b/libjava/classpath/org/omg/CORBA/OBJ_ADAPTER.java @@ -1,5 +1,5 @@ /* OBJ_ADAPTER.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class OBJ_ADAPTER +public final class OBJ_ADAPTER extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class OBJ_ADAPTER /** * Creates a OBJ_ADAPTER with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public OBJ_ADAPTER(String message) { diff --git a/libjava/classpath/org/omg/CORBA/ORB.java b/libjava/classpath/org/omg/CORBA/ORB.java index 06259fafa32..af05488280f 100644 --- a/libjava/classpath/org/omg/CORBA/ORB.java +++ b/libjava/classpath/org/omg/CORBA/ORB.java @@ -673,17 +673,7 @@ public abstract class ORB * @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; - } + public abstract TypeCode create_recursive_sequence_tc(int bound, int offset); /** * Create a typecode which serves as a placeholder for typcode, containing @@ -789,10 +779,7 @@ public abstract class ORB * @throws NO_IMPLEMENT for the Singleton ORB, returned by * the parameterless {@link #init()}. */ - public Context get_default_context() - { - return new gnuContext("", null); - } + public abstract Context get_default_context(); /** * Return thg typecode, representing the given primitive object type. diff --git a/libjava/classpath/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java b/libjava/classpath/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java index e021a8a9f5c..7bb6a702af8 100644 --- a/libjava/classpath/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java +++ b/libjava/classpath/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java @@ -1,5 +1,5 @@ /* InconsistentTypeCode.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -51,7 +51,7 @@ import org.omg.CORBA.portable.IDLEntity; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class InconsistentTypeCode +public final class InconsistentTypeCode extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/CORBA/ORBPackage/InvalidName.java b/libjava/classpath/org/omg/CORBA/ORBPackage/InvalidName.java index f2b78f47cf2..5594015cd1c 100644 --- a/libjava/classpath/org/omg/CORBA/ORBPackage/InvalidName.java +++ b/libjava/classpath/org/omg/CORBA/ORBPackage/InvalidName.java @@ -1,5 +1,5 @@ /* InvalidName.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -51,7 +51,7 @@ import org.omg.CORBA.portable.IDLEntity; * which there is no initial reference. * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class InvalidName +public final class InvalidName extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/CORBA/PERSIST_STORE.java b/libjava/classpath/org/omg/CORBA/PERSIST_STORE.java index df17cefa9e9..1fdddf1d04c 100644 --- a/libjava/classpath/org/omg/CORBA/PERSIST_STORE.java +++ b/libjava/classpath/org/omg/CORBA/PERSIST_STORE.java @@ -1,5 +1,5 @@ /* PERSIST_STORE.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class PERSIST_STORE +public final class PERSIST_STORE extends SystemException implements Serializable { diff --git a/libjava/classpath/org/omg/CORBA/ParameterMode.java b/libjava/classpath/org/omg/CORBA/ParameterMode.java index 73c6f574fb3..931a2e92780 100644 --- a/libjava/classpath/org/omg/CORBA/ParameterMode.java +++ b/libjava/classpath/org/omg/CORBA/ParameterMode.java @@ -1,5 +1,5 @@ /* ParameterMode.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -78,17 +78,17 @@ public class ParameterMode /** * This value means that the parameter is an IN parameter. */ - public static ParameterMode PARAM_IN = new ParameterMode(_PARAM_IN); + public static final ParameterMode PARAM_IN = new ParameterMode(_PARAM_IN); /** * This value means that the parameter is an OUT parameter. */ - public static ParameterMode PARAM_OUT = new ParameterMode(_PARAM_OUT); + public static final ParameterMode PARAM_OUT = new ParameterMode(_PARAM_OUT); /** * This value means that the parameter is an INOUT parameter. */ - public static ParameterMode PARAM_INOUT = new ParameterMode(_PARAM_INOUT); + public static final ParameterMode PARAM_INOUT = new ParameterMode(_PARAM_INOUT); /** * The value of this parameter mode instance. diff --git a/libjava/classpath/org/omg/CORBA/ParameterModeHolder.java b/libjava/classpath/org/omg/CORBA/ParameterModeHolder.java index 5c932b7d050..b6dc8fae7b4 100644 --- a/libjava/classpath/org/omg/CORBA/ParameterModeHolder.java +++ b/libjava/classpath/org/omg/CORBA/ParameterModeHolder.java @@ -1,5 +1,5 @@ /* ParameterModeHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -43,7 +43,7 @@ package org.omg.CORBA; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class ParameterModeHolder +public final class ParameterModeHolder implements org.omg.CORBA.portable.Streamable { /** @@ -52,7 +52,7 @@ public class ParameterModeHolder public ParameterMode value; /** - * Create the unitialised instance. + * Create the uninitialised instance. */ public ParameterModeHolder() { @@ -68,7 +68,7 @@ public class ParameterModeHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. */ public void _read(org.omg.CORBA.portable.InputStream in) { diff --git a/libjava/classpath/org/omg/CORBA/PolicyError.java b/libjava/classpath/org/omg/CORBA/PolicyError.java index 749868a992f..98d6079d8d1 100644 --- a/libjava/classpath/org/omg/CORBA/PolicyError.java +++ b/libjava/classpath/org/omg/CORBA/PolicyError.java @@ -1,5 +1,5 @@ /* PolicyError.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -51,7 +51,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class PolicyError +public final class PolicyError extends UserException implements IDLEntity, Serializable { @@ -69,7 +69,7 @@ public class PolicyError private static final long serialVersionUID = -9196809779974700103L; /** - * Constructs an unitialised instance of the policy error. + * Constructs an uninitialised instance of the policy error. */ public PolicyError() { diff --git a/libjava/classpath/org/omg/CORBA/PolicyErrorHolder.java b/libjava/classpath/org/omg/CORBA/PolicyErrorHolder.java index 8e2c9a8d342..cc3cf68681a 100644 --- a/libjava/classpath/org/omg/CORBA/PolicyErrorHolder.java +++ b/libjava/classpath/org/omg/CORBA/PolicyErrorHolder.java @@ -1,5 +1,5 @@ /* PolicyErrorHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import org.omg.CORBA.portable.Streamable; * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class PolicyErrorHolder implements Streamable +public final class PolicyErrorHolder implements Streamable { /** * The stored PolicyError value. @@ -56,7 +56,7 @@ public class PolicyErrorHolder implements Streamable public PolicyError value; /** - * Create the unitialised instance, leaving the value field + * Create the uninitialised instance, leaving the value field * with default <code>null</code> value. */ public PolicyErrorHolder() @@ -74,7 +74,7 @@ public class PolicyErrorHolder implements Streamable } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/CORBA/PolicyHolder.java b/libjava/classpath/org/omg/CORBA/PolicyHolder.java index e398cc14d7b..7dafbca6f60 100644 --- a/libjava/classpath/org/omg/CORBA/PolicyHolder.java +++ b/libjava/classpath/org/omg/CORBA/PolicyHolder.java @@ -1,5 +1,5 @@ /* PolicyHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class PolicyHolder +public final class PolicyHolder implements Streamable { /** @@ -56,7 +56,7 @@ public class PolicyHolder public Policy value; /** - * Create the unitialised instance, leaving the value field + * Create the uninitialised instance, leaving the value field * with default <code>null</code> value. */ public PolicyHolder() @@ -74,7 +74,7 @@ public class PolicyHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * Delegates work to {@link PolicyHelper}. * * @param input the org.omg.CORBA.portable stream to read. diff --git a/libjava/classpath/org/omg/CORBA/PolicyListHolder.java b/libjava/classpath/org/omg/CORBA/PolicyListHolder.java index 6c1b1cc9726..1b1d9da727c 100644 --- a/libjava/classpath/org/omg/CORBA/PolicyListHolder.java +++ b/libjava/classpath/org/omg/CORBA/PolicyListHolder.java @@ -1,5 +1,5 @@ /* PolicyListHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -43,11 +43,11 @@ import org.omg.CORBA.portable.OutputStream; import org.omg.CORBA.portable.Streamable; /** -* A holder for the object {@link Policy[]}. +* A holder for the object <code>Policy[]</code>. * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class PolicyListHolder +public final class PolicyListHolder implements Streamable { /** @@ -56,7 +56,7 @@ public class PolicyListHolder public Policy[] value; /** - * Create the unitialised instance, leaving the value field + * Create the uninitialised instance, leaving the value field * with default <code>null</code> value. */ public PolicyListHolder() @@ -74,7 +74,7 @@ public class PolicyListHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * Uses {@link PolicyListHelper}. * * @param input the org.omg.CORBA.portable stream to read. diff --git a/libjava/classpath/org/omg/CORBA/REBIND.java b/libjava/classpath/org/omg/CORBA/REBIND.java index 9480906cc4d..48a3ea42f62 100644 --- a/libjava/classpath/org/omg/CORBA/REBIND.java +++ b/libjava/classpath/org/omg/CORBA/REBIND.java @@ -1,5 +1,5 @@ /* REBIND.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class REBIND +public final class REBIND extends SystemException implements Serializable { @@ -60,7 +60,7 @@ public class REBIND /** * Creates REBIND with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reason the explaining message. + * @param message the explaining message. */ public REBIND(String message) { diff --git a/libjava/classpath/org/omg/CORBA/SystemException.java b/libjava/classpath/org/omg/CORBA/SystemException.java index dd193627900..127b918d37a 100644 --- a/libjava/classpath/org/omg/CORBA/SystemException.java +++ b/libjava/classpath/org/omg/CORBA/SystemException.java @@ -1,5 +1,5 @@ /* SystemException.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class SystemException +public abstract class SystemException extends RuntimeException implements Serializable { diff --git a/libjava/classpath/org/omg/CORBA/TIMEOUT.java b/libjava/classpath/org/omg/CORBA/TIMEOUT.java index 44ae8b31cb3..bdeae7b19b0 100644 --- a/libjava/classpath/org/omg/CORBA/TIMEOUT.java +++ b/libjava/classpath/org/omg/CORBA/TIMEOUT.java @@ -1,5 +1,5 @@ /* TIMEOUT.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class TIMEOUT +public final class TIMEOUT extends SystemException implements Serializable { @@ -59,7 +59,7 @@ public class TIMEOUT /** * Creates TIMEOUT with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reason the explaining message. + * @param message the explaining message. */ public TIMEOUT(String message) { diff --git a/libjava/classpath/org/omg/CORBA/TRANSACTION_MODE.java b/libjava/classpath/org/omg/CORBA/TRANSACTION_MODE.java index 5f1981ba408..fc72d3c6748 100644 --- a/libjava/classpath/org/omg/CORBA/TRANSACTION_MODE.java +++ b/libjava/classpath/org/omg/CORBA/TRANSACTION_MODE.java @@ -1,5 +1,5 @@ /* TRANSACTION_MODE.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class TRANSACTION_MODE +public final class TRANSACTION_MODE extends SystemException implements Serializable { @@ -60,7 +60,7 @@ public class TRANSACTION_MODE /** * Creates TRANSACTION_MODE with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reason the explaining message. + * @param message the explaining message. */ public TRANSACTION_MODE(String message) { diff --git a/libjava/classpath/org/omg/CORBA/TRANSACTION_REQUIRED.java b/libjava/classpath/org/omg/CORBA/TRANSACTION_REQUIRED.java index 66eedf4b937..3d6c55c526a 100644 --- a/libjava/classpath/org/omg/CORBA/TRANSACTION_REQUIRED.java +++ b/libjava/classpath/org/omg/CORBA/TRANSACTION_REQUIRED.java @@ -1,5 +1,5 @@ /* TRANSACTION_REQUIRED.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,7 +45,7 @@ import java.io.Serializable; * active transaction is required. * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class TRANSACTION_REQUIRED +public final class TRANSACTION_REQUIRED extends SystemException implements Serializable { @@ -57,7 +57,7 @@ public class TRANSACTION_REQUIRED /** * Creates a TRANSACTION_REQUIRED with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public TRANSACTION_REQUIRED(String message) { diff --git a/libjava/classpath/org/omg/CORBA/TRANSACTION_ROLLEDBACK.java b/libjava/classpath/org/omg/CORBA/TRANSACTION_ROLLEDBACK.java index ce115c8ac4a..f7f4aabf2d5 100644 --- a/libjava/classpath/org/omg/CORBA/TRANSACTION_ROLLEDBACK.java +++ b/libjava/classpath/org/omg/CORBA/TRANSACTION_ROLLEDBACK.java @@ -1,5 +1,5 @@ /* TRANSACTION_ROLLEDBACK.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -46,7 +46,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class TRANSACTION_ROLLEDBACK +public final class TRANSACTION_ROLLEDBACK extends SystemException implements Serializable { @@ -58,7 +58,7 @@ public class TRANSACTION_ROLLEDBACK /** * Creates a TRANSACTION_ROLLEDBACK with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public TRANSACTION_ROLLEDBACK(String message) { diff --git a/libjava/classpath/org/omg/CORBA/TRANSACTION_UNAVAILABLE.java b/libjava/classpath/org/omg/CORBA/TRANSACTION_UNAVAILABLE.java index dc808a23ce9..13ce17ebe6d 100644 --- a/libjava/classpath/org/omg/CORBA/TRANSACTION_UNAVAILABLE.java +++ b/libjava/classpath/org/omg/CORBA/TRANSACTION_UNAVAILABLE.java @@ -1,5 +1,5 @@ /* TRANSACTION_UNAVAILABLE.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class TRANSACTION_UNAVAILABLE +public final class TRANSACTION_UNAVAILABLE extends SystemException implements Serializable { @@ -60,7 +60,7 @@ public class TRANSACTION_UNAVAILABLE /** * Creates TRANSACTION_UNAVAILABLE with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reason the explaining message. + * @param message the explaining message. */ public TRANSACTION_UNAVAILABLE(String message) { diff --git a/libjava/classpath/org/omg/CORBA/TRANSIENT.java b/libjava/classpath/org/omg/CORBA/TRANSIENT.java index c2aa5cb3154..1dad9a1c4e7 100644 --- a/libjava/classpath/org/omg/CORBA/TRANSIENT.java +++ b/libjava/classpath/org/omg/CORBA/TRANSIENT.java @@ -1,5 +1,5 @@ /* TRANSIENT.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -46,14 +46,14 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class TRANSIENT +public final class TRANSIENT extends SystemException implements Serializable { /** * Creates a TRANSIENT with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public TRANSIENT(String message) { diff --git a/libjava/classpath/org/omg/CORBA/TypeCodeHolder.java b/libjava/classpath/org/omg/CORBA/TypeCodeHolder.java index bb293376d1f..0a3c4e370c8 100644 --- a/libjava/classpath/org/omg/CORBA/TypeCodeHolder.java +++ b/libjava/classpath/org/omg/CORBA/TypeCodeHolder.java @@ -1,5 +1,5 @@ /* TypeCodeHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -51,7 +51,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class TypeCodeHolder +public final class TypeCodeHolder implements Streamable { /** @@ -87,7 +87,7 @@ public class TypeCodeHolder } /** - * Fill in the {@link value } field by reading the required data + * Fill in the {@link #value} field by reading the required data * from the given stream. For <code>TypeCode</code>, the functionality * is delegated to * {@link org.omg.CORBA.portable.InputStream#read_TypeCode}. @@ -109,7 +109,7 @@ public class TypeCodeHolder } /** - * Write the {@link value } field to the given stream. + * Write the {@link #value} field to the given stream. * For <code>TypeCode</code>, the functionality * is delegated to * {@link org.omg.CORBA.portable.OutputStream#write_TypeCode(TypeCode) }. diff --git a/libjava/classpath/org/omg/CORBA/TypeCodePackage/BadKind.java b/libjava/classpath/org/omg/CORBA/TypeCodePackage/BadKind.java index 8ca659d7f4d..d7f0ce5236e 100644 --- a/libjava/classpath/org/omg/CORBA/TypeCodePackage/BadKind.java +++ b/libjava/classpath/org/omg/CORBA/TypeCodePackage/BadKind.java @@ -1,5 +1,5 @@ /* BadKind.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import org.omg.CORBA.portable.IDLEntity; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class BadKind +public final class BadKind extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/CORBA/TypeCodePackage/Bounds.java b/libjava/classpath/org/omg/CORBA/TypeCodePackage/Bounds.java index 16954e034f1..364447cd9ca 100644 --- a/libjava/classpath/org/omg/CORBA/TypeCodePackage/Bounds.java +++ b/libjava/classpath/org/omg/CORBA/TypeCodePackage/Bounds.java @@ -1,5 +1,5 @@ /* Bounds.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -52,7 +52,7 @@ import org.omg.CORBA.portable.IDLEntity; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class Bounds +public final class Bounds extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/CORBA/UNKNOWN.java b/libjava/classpath/org/omg/CORBA/UNKNOWN.java index 60d3fc0b5c7..37b627aa38e 100644 --- a/libjava/classpath/org/omg/CORBA/UNKNOWN.java +++ b/libjava/classpath/org/omg/CORBA/UNKNOWN.java @@ -1,5 +1,5 @@ /* UNKNOWN.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -44,7 +44,7 @@ import java.io.Serializable; * Means that the operation implementation has thrown a non-CORBA exception. * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class UNKNOWN +public final class UNKNOWN extends SystemException implements Serializable { @@ -56,7 +56,7 @@ public class UNKNOWN /** * Creates a UNKNOWN with the default minor code of 0, * completion state COMPLETED_NO and the given explaining message. - * @param reasom the explaining message. + * @param message the explaining message. */ public UNKNOWN(String message) { diff --git a/libjava/classpath/org/omg/CORBA/UnionMember.java b/libjava/classpath/org/omg/CORBA/UnionMember.java index 41afeb7da24..69e424cdb03 100644 --- a/libjava/classpath/org/omg/CORBA/UnionMember.java +++ b/libjava/classpath/org/omg/CORBA/UnionMember.java @@ -1,5 +1,5 @@ /* UnionMember.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import org.omg.CORBA.portable.IDLEntity; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class UnionMember +public final class UnionMember implements IDLEntity, Serializable { /** @@ -87,6 +87,7 @@ public class UnionMember * Creates a union member. * * @param a_name member name. + * @param a_label member label. * @param a_type member type code. * @param a_type_def member IDL type definition. */ diff --git a/libjava/classpath/org/omg/CORBA/UnknownUserException.java b/libjava/classpath/org/omg/CORBA/UnknownUserException.java index 19efc0e3f30..3b33ffd337a 100644 --- a/libjava/classpath/org/omg/CORBA/UnknownUserException.java +++ b/libjava/classpath/org/omg/CORBA/UnknownUserException.java @@ -1,5 +1,5 @@ /* UnknownUserException.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,11 +47,11 @@ import java.io.Serializable; * on remote side and returned by the server. The instance of this * class is returned by {@link Request#env()}. * - * @see Environment#exception(). + * @see Environment#exception() * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class UnknownUserException +public final class UnknownUserException extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/CORBA/UnknownUserExceptionHolder.java b/libjava/classpath/org/omg/CORBA/UnknownUserExceptionHolder.java index d7b1ca006d4..0fa966982ec 100644 --- a/libjava/classpath/org/omg/CORBA/UnknownUserExceptionHolder.java +++ b/libjava/classpath/org/omg/CORBA/UnknownUserExceptionHolder.java @@ -1,5 +1,5 @@ /* UnknownUserExceptionHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import org.omg.CORBA.portable.Streamable; * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class UnknownUserExceptionHolder implements Streamable +public final class UnknownUserExceptionHolder implements Streamable { /** * The stored UnknownUserException value. @@ -74,7 +74,7 @@ public class UnknownUserExceptionHolder implements Streamable } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/CORBA/UserException.java b/libjava/classpath/org/omg/CORBA/UserException.java index ac9b9fb3d02..edbd76e861f 100644 --- a/libjava/classpath/org/omg/CORBA/UserException.java +++ b/libjava/classpath/org/omg/CORBA/UserException.java @@ -1,5 +1,5 @@ /* UserException.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -46,7 +46,7 @@ import org.omg.CORBA.portable.IDLEntity; * The root class for CORBA IDL-defined user exceptions. * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class UserException +public abstract class UserException extends Exception implements IDLEntity, Serializable { @@ -59,7 +59,7 @@ public class UserException /** * Constructs a the exception. */ - public UserException() + protected UserException() { } @@ -67,7 +67,7 @@ public class UserException * Constructs the exception, explaining the reason of throwing it. * @param reason a string, explaining, why the exception has been thrown. */ - public UserException(String reason) + protected UserException(String reason) { super(reason); } diff --git a/libjava/classpath/org/omg/CORBA/ValueMember.java b/libjava/classpath/org/omg/CORBA/ValueMember.java index f6bb70d3c8e..9323c86f9b5 100644 --- a/libjava/classpath/org/omg/CORBA/ValueMember.java +++ b/libjava/classpath/org/omg/CORBA/ValueMember.java @@ -1,5 +1,5 @@ /* ValueMember.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class ValueMember +public final class ValueMember implements Serializable, IDLEntity { /** diff --git a/libjava/classpath/org/omg/CORBA/WrongTransactionHolder.java b/libjava/classpath/org/omg/CORBA/WrongTransactionHolder.java index 103724f81dd..1ea3e025f94 100644 --- a/libjava/classpath/org/omg/CORBA/WrongTransactionHolder.java +++ b/libjava/classpath/org/omg/CORBA/WrongTransactionHolder.java @@ -1,5 +1,5 @@ /* WrongTransactionHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class WrongTransactionHolder implements Streamable +public final class WrongTransactionHolder implements Streamable { /** * The stored WrongTransaction value. @@ -74,7 +74,7 @@ public class WrongTransactionHolder implements Streamable } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/CORBA/portable/RemarshalException.java b/libjava/classpath/org/omg/CORBA/portable/RemarshalException.java index 7e6dbfee9fb..14836ea14ee 100644 --- a/libjava/classpath/org/omg/CORBA/portable/RemarshalException.java +++ b/libjava/classpath/org/omg/CORBA/portable/RemarshalException.java @@ -1,5 +1,5 @@ /* RemarshalException.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ -public class RemarshalException +public final class RemarshalException extends Exception implements Serializable { diff --git a/libjava/classpath/org/omg/CosNaming/NamingContextOperations.java b/libjava/classpath/org/omg/CosNaming/NamingContextOperations.java index dc25daaa320..cc93cb7ba4d 100644 --- a/libjava/classpath/org/omg/CosNaming/NamingContextOperations.java +++ b/libjava/classpath/org/omg/CosNaming/NamingContextOperations.java @@ -1,5 +1,5 @@ /* NamingContext.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,7 +38,6 @@ 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; @@ -55,7 +54,6 @@ import org.omg.CosNaming.NamingContextPackage.NotFound; * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public interface NamingContextOperations - extends IDLEntity { /** * Gives the object a name, valid in this context. diff --git a/libjava/classpath/org/omg/CosNaming/_BindingIteratorStub.java b/libjava/classpath/org/omg/CosNaming/_BindingIteratorStub.java index 487b2efe356..b5400c4a1df 100644 --- a/libjava/classpath/org/omg/CosNaming/_BindingIteratorStub.java +++ b/libjava/classpath/org/omg/CosNaming/_BindingIteratorStub.java @@ -1,5 +1,5 @@ /* _BindingIteratorStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -77,7 +77,7 @@ public class _BindingIteratorStub /** * Create the stub that used the given delegate. */ - public _BindingIteratorStub(Delegate delegate) + _BindingIteratorStub(Delegate delegate) { super(); _set_delegate(delegate); diff --git a/libjava/classpath/org/omg/CosNaming/_NamingContextExtStub.java b/libjava/classpath/org/omg/CosNaming/_NamingContextExtStub.java index a0bc80ac08d..067b3cf3cc5 100644 --- a/libjava/classpath/org/omg/CosNaming/_NamingContextExtStub.java +++ b/libjava/classpath/org/omg/CosNaming/_NamingContextExtStub.java @@ -1,5 +1,5 @@ /* _NamingContextExtStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -99,7 +99,7 @@ public class _NamingContextExtStub /** * Create the naming context stub with the given delegate. */ - public _NamingContextExtStub(Delegate delegate) + _NamingContextExtStub(Delegate delegate) { super(delegate); } diff --git a/libjava/classpath/org/omg/CosNaming/_NamingContextStub.java b/libjava/classpath/org/omg/CosNaming/_NamingContextStub.java index d561aeb48a7..2b21e71b62f 100644 --- a/libjava/classpath/org/omg/CosNaming/_NamingContextStub.java +++ b/libjava/classpath/org/omg/CosNaming/_NamingContextStub.java @@ -1,5 +1,5 @@ /* _NamingContextStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -39,7 +39,6 @@ exception statement from your version. */ package org.omg.CosNaming; import org.omg.CORBA.MARSHAL; -import org.omg.CORBA.ORB; import org.omg.CORBA.ObjectHelper; import org.omg.CORBA.portable.ApplicationException; import org.omg.CORBA.portable.Delegate; @@ -85,7 +84,7 @@ public class _NamingContextStub /** * Create the naming context stub with the given delegate. */ - public _NamingContextStub(Delegate delegate) + _NamingContextStub(Delegate delegate) { super(); _set_delegate(delegate); @@ -415,7 +414,7 @@ public class _NamingContextStub * @throws NotFound if the id matches. * @throws MARSHAL if the id does not match any of the previous 4 exceptions. */ - protected void throw4(InputStream in, String id) + void throw4(InputStream in, String id) throws MARSHAL, InvalidName, CannotProceed, NotFound { if (id.equals(NotFoundHelper.id())) @@ -443,7 +442,7 @@ public class _NamingContextStub * @throws NotFound if the id matches. * @throws MARSHAL if the id does not match any of the previous 4 exceptions. */ - protected void throw5(InputStream in, String id) + void throw5(InputStream in, String id) throws MARSHAL, AlreadyBound, InvalidName, CannotProceed, NotFound { diff --git a/libjava/classpath/org/omg/Dynamic/Parameter.java b/libjava/classpath/org/omg/Dynamic/Parameter.java index dd42c2e0a87..6e243a430cb 100644 --- a/libjava/classpath/org/omg/Dynamic/Parameter.java +++ b/libjava/classpath/org/omg/Dynamic/Parameter.java @@ -1,5 +1,5 @@ /* Parameter.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,11 +48,11 @@ import java.io.Serializable; * When representing the information about a request, * defines a one of the arguments for the operation being invoked. * - * @see org.omg.PortableInterceptor.RequestInfoOperation#arguments() + * @see org.omg.PortableInterceptor.RequestInfoOperations#arguments() * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class Parameter +public final class Parameter implements IDLEntity, Serializable { /** @@ -73,7 +73,7 @@ public class Parameter public ParameterMode mode; /** - * Create the unitialised instance. + * Create the uninitialised instance. */ public Parameter() { diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java b/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java index faf3d291dd0..fced4f704e8 100644 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java +++ b/libjava/classpath/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java @@ -1,5 +1,5 @@ /* InconsistentTypeCode.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -54,7 +54,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) */ -public class InconsistentTypeCode +public final class InconsistentTypeCode extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/InvalidValue.java b/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/InvalidValue.java index 97f401d0e5e..c19eb76cd8f 100644 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/InvalidValue.java +++ b/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/InvalidValue.java @@ -1,5 +1,5 @@ /* InvalidValue.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -51,7 +51,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class InvalidValue +public final class InvalidValue extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java b/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java index 5558babe6ef..3934abd2f37 100644 --- a/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java +++ b/libjava/classpath/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java @@ -1,5 +1,5 @@ /* TypeMismatch.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -51,7 +51,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class TypeMismatch +public final class TypeMismatch extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/DynamicAny/_DynAnyFactoryStub.java b/libjava/classpath/org/omg/DynamicAny/_DynAnyFactoryStub.java index 15f7c816b44..d4b569069b8 100644 --- a/libjava/classpath/org/omg/DynamicAny/_DynAnyFactoryStub.java +++ b/libjava/classpath/org/omg/DynamicAny/_DynAnyFactoryStub.java @@ -1,5 +1,5 @@ /* _DynAnyFactoryStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -40,20 +40,19 @@ package org.omg.DynamicAny; import gnu.CORBA.Minor; +import java.io.Serializable; + import org.omg.CORBA.Any; import org.omg.CORBA.MARSHAL; import org.omg.CORBA.TypeCode; -import org.omg.CORBA.portable.Delegate; import org.omg.CORBA.portable.ObjectImpl; import org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode; -import java.io.Serializable; - /** * Should provide support for remote invocation of methods on * DynAnyFactory. As DynAny can never be remote at least till 1.5 inclusive, * this class is not in use. DynAnyFactory should be obtained from the - * {@link ORB#resolve_initial_references}. + * {@link org.omg.CORBA.ORB#resolve_initial_references}. * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ @@ -79,14 +78,6 @@ public class _DynAnyFactoryStub } /** - * Create the naming context stub with the given delegate. - */ - public _DynAnyFactoryStub(Delegate delegate) - { - _set_delegate(delegate); - } - - /** * Return the array of repository ids for this object. */ public String[] _ids() diff --git a/libjava/classpath/org/omg/DynamicAny/_DynAnyStub.java b/libjava/classpath/org/omg/DynamicAny/_DynAnyStub.java index af8d4e5ed47..0e3e390589f 100644 --- a/libjava/classpath/org/omg/DynamicAny/_DynAnyStub.java +++ b/libjava/classpath/org/omg/DynamicAny/_DynAnyStub.java @@ -1,5 +1,5 @@ /* _DynAnyStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,16 +38,15 @@ exception statement from your version. */ package org.omg.DynamicAny; +import java.io.Serializable; + import org.omg.CORBA.Any; import org.omg.CORBA.MARSHAL; import org.omg.CORBA.TypeCode; -import org.omg.CORBA.portable.Delegate; import org.omg.CORBA.portable.ObjectImpl; import org.omg.DynamicAny.DynAnyPackage.InvalidValue; import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; -import java.io.Serializable; - /** * Should provide support for remote invocation of methods on DynAny. As * DynAny can never be remote at least till 1.5 inclusive, this class is @@ -77,14 +76,6 @@ public class _DynAnyStub } /** - * Create the naming context stub with the given delegate. - */ - public _DynAnyStub(Delegate delegate) - { - _set_delegate(delegate); - } - - /** * Return the array of repository ids for this object. */ public String[] _ids() diff --git a/libjava/classpath/org/omg/DynamicAny/_DynArrayStub.java b/libjava/classpath/org/omg/DynamicAny/_DynArrayStub.java index 4484f165591..869e269c3ef 100644 --- a/libjava/classpath/org/omg/DynamicAny/_DynArrayStub.java +++ b/libjava/classpath/org/omg/DynamicAny/_DynArrayStub.java @@ -1,5 +1,5 @@ /* _DynArrayStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,14 +38,15 @@ exception statement from your version. */ package org.omg.DynamicAny; +import java.io.Serializable; + import org.omg.CORBA.Any; import org.omg.CORBA.MARSHAL; -import org.omg.CORBA.portable.Delegate; +import org.omg.CORBA.TypeCode; +import org.omg.CORBA.portable.ObjectImpl; import org.omg.DynamicAny.DynAnyPackage.InvalidValue; import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; -import java.io.Serializable; - /** * Should provide support for remote invocation of methods on DynArray. As * DynArray can never be remote at least till 1.5 inclusive, this class is @@ -54,7 +55,7 @@ import java.io.Serializable; * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class _DynArrayStub - extends _DynAnyStub + extends ObjectImpl implements DynArray, Serializable { /** @@ -75,14 +76,6 @@ public class _DynArrayStub } /** - * Create the naming context stub with the given delegate. - */ - public _DynArrayStub(Delegate delegate) - { - _set_delegate(delegate); - } - - /** * Return the array of repository ids for this object. */ public String[] _ids() @@ -131,4 +124,543 @@ public class _DynArrayStub { throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode type() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean next() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void destroy() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny copy() + { + return this; + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void rewind() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void assign(DynAny _0) + throws TypeMismatch + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int component_count() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny current_component() + throws TypeMismatch + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean equal(DynAny _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void from_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any get_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean get_boolean() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_char() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public double get_double() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny get_dyn_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public float get_float() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_long() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_longlong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public byte get_octet() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public org.omg.CORBA.Object get_reference() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_short() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_string() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode get_typecode() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_ulong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_ulonglong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_ushort() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Serializable get_val() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_wchar() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_wstring() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_boolean(boolean _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_char(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_double(double _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_dyn_any(DynAny _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_float(float _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_long(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_longlong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_octet(byte _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_reference(org.omg.CORBA.Object _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_short(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_string(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_typecode(TypeCode _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulong(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulonglong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ushort(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_val(Serializable _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wchar(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wstring(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean seek(int _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any to_any() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + }
\ No newline at end of file diff --git a/libjava/classpath/org/omg/DynamicAny/_DynEnumStub.java b/libjava/classpath/org/omg/DynamicAny/_DynEnumStub.java index ea7879be1ec..73e9fa72d61 100644 --- a/libjava/classpath/org/omg/DynamicAny/_DynEnumStub.java +++ b/libjava/classpath/org/omg/DynamicAny/_DynEnumStub.java @@ -1,5 +1,5 @@ /* _DynEnumStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,11 +38,14 @@ exception statement from your version. */ package org.omg.DynamicAny; +import java.io.Serializable; + +import org.omg.CORBA.Any; import org.omg.CORBA.MARSHAL; -import org.omg.CORBA.portable.Delegate; +import org.omg.CORBA.TypeCode; +import org.omg.CORBA.portable.ObjectImpl; import org.omg.DynamicAny.DynAnyPackage.InvalidValue; - -import java.io.Serializable; +import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; /** * Should provide support for remote invocation of methods on DynEnum. As @@ -52,7 +55,7 @@ import java.io.Serializable; * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class _DynEnumStub - extends _DynAnyStub + extends ObjectImpl implements DynEnum, Serializable { /** @@ -73,14 +76,6 @@ public class _DynEnumStub } /** - * Create the naming context stub with the given delegate. - */ - public _DynEnumStub(Delegate delegate) - { - _set_delegate(delegate); - } - - /** * Return the array of repository ids for this object. */ public String[] _ids() @@ -129,4 +124,543 @@ public class _DynEnumStub { throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode type() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean next() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void destroy() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny copy() + { + return this; + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void rewind() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void assign(DynAny _0) + throws TypeMismatch + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int component_count() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny current_component() + throws TypeMismatch + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean equal(DynAny _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void from_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any get_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean get_boolean() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_char() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public double get_double() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny get_dyn_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public float get_float() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_long() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_longlong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public byte get_octet() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public org.omg.CORBA.Object get_reference() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_short() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_string() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode get_typecode() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_ulong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_ulonglong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_ushort() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Serializable get_val() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_wchar() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_wstring() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_boolean(boolean _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_char(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_double(double _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_dyn_any(DynAny _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_float(float _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_long(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_longlong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_octet(byte _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_reference(org.omg.CORBA.Object _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_short(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_string(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_typecode(TypeCode _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulong(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulonglong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ushort(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_val(Serializable _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wchar(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wstring(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean seek(int _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any to_any() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + }
\ No newline at end of file diff --git a/libjava/classpath/org/omg/DynamicAny/_DynFixedStub.java b/libjava/classpath/org/omg/DynamicAny/_DynFixedStub.java index 8e2747e4fc8..97a3d94dfef 100644 --- a/libjava/classpath/org/omg/DynamicAny/_DynFixedStub.java +++ b/libjava/classpath/org/omg/DynamicAny/_DynFixedStub.java @@ -1,5 +1,5 @@ /* _DynFixedStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,13 +38,15 @@ exception statement from your version. */ package org.omg.DynamicAny; +import java.io.Serializable; + +import org.omg.CORBA.Any; import org.omg.CORBA.MARSHAL; -import org.omg.CORBA.portable.Delegate; +import org.omg.CORBA.TypeCode; +import org.omg.CORBA.portable.ObjectImpl; import org.omg.DynamicAny.DynAnyPackage.InvalidValue; import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; -import java.io.Serializable; - /** * Should provide support for remote invocation of methods on DynFixed. As * DynFixed can never be remote at least till 1.5 inclusive, this class is @@ -53,7 +55,7 @@ import java.io.Serializable; * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class _DynFixedStub - extends _DynAnyStub + extends ObjectImpl implements DynFixed, Serializable { /** @@ -74,14 +76,6 @@ public class _DynFixedStub } /** - * Create the naming context stub with the given delegate. - */ - public _DynFixedStub(Delegate delegate) - { - _set_delegate(delegate); - } - - /** * Return the array of repository ids for this object. */ public String[] _ids() @@ -109,4 +103,543 @@ public class _DynFixedStub { throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode type() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean next() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void destroy() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny copy() + { + return this; + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void rewind() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void assign(DynAny _0) + throws TypeMismatch + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int component_count() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny current_component() + throws TypeMismatch + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean equal(DynAny _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void from_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any get_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean get_boolean() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_char() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public double get_double() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny get_dyn_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public float get_float() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_long() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_longlong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public byte get_octet() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public org.omg.CORBA.Object get_reference() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_short() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_string() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode get_typecode() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_ulong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_ulonglong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_ushort() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Serializable get_val() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_wchar() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_wstring() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_boolean(boolean _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_char(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_double(double _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_dyn_any(DynAny _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_float(float _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_long(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_longlong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_octet(byte _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_reference(org.omg.CORBA.Object _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_short(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_string(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_typecode(TypeCode _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulong(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulonglong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ushort(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_val(Serializable _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wchar(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wstring(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean seek(int _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any to_any() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + }
\ No newline at end of file diff --git a/libjava/classpath/org/omg/DynamicAny/_DynSequenceStub.java b/libjava/classpath/org/omg/DynamicAny/_DynSequenceStub.java index 5f1f038ba51..802ff2332cc 100644 --- a/libjava/classpath/org/omg/DynamicAny/_DynSequenceStub.java +++ b/libjava/classpath/org/omg/DynamicAny/_DynSequenceStub.java @@ -1,5 +1,5 @@ /* _DynSequenceStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,14 +38,16 @@ exception statement from your version. */ package org.omg.DynamicAny; +import java.io.Serializable; + import org.omg.CORBA.Any; import org.omg.CORBA.MARSHAL; +import org.omg.CORBA.TypeCode; import org.omg.CORBA.portable.Delegate; +import org.omg.CORBA.portable.ObjectImpl; import org.omg.DynamicAny.DynAnyPackage.InvalidValue; import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; -import java.io.Serializable; - /** * Should provide support for remote invocation of methods on DynSequence. As * DynSequence can never be remote at least till 1.5 inclusive, this class is @@ -54,7 +56,7 @@ import java.io.Serializable; * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class _DynSequenceStub - extends _DynAnyStub + extends ObjectImpl implements DynSequence, Serializable { /** @@ -77,14 +79,6 @@ public class _DynSequenceStub } /** - * Create the naming context stub with the given delegate. - */ - public _DynSequenceStub(Delegate delegate) - { - _set_delegate(delegate); - } - - /** * Return the array of repository ids for this object. */ public String[] _ids() @@ -154,4 +148,543 @@ public class _DynSequenceStub { throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode type() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean next() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void destroy() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny copy() + { + return this; + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void rewind() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void assign(DynAny _0) + throws TypeMismatch + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int component_count() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny current_component() + throws TypeMismatch + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean equal(DynAny _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void from_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any get_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean get_boolean() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_char() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public double get_double() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny get_dyn_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public float get_float() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_long() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_longlong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public byte get_octet() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public org.omg.CORBA.Object get_reference() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_short() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_string() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode get_typecode() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_ulong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_ulonglong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_ushort() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Serializable get_val() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_wchar() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_wstring() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_boolean(boolean _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_char(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_double(double _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_dyn_any(DynAny _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_float(float _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_long(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_longlong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_octet(byte _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_reference(org.omg.CORBA.Object _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_short(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_string(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_typecode(TypeCode _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulong(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulonglong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ushort(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_val(Serializable _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wchar(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wstring(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean seek(int _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any to_any() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + }
\ No newline at end of file diff --git a/libjava/classpath/org/omg/DynamicAny/_DynStructStub.java b/libjava/classpath/org/omg/DynamicAny/_DynStructStub.java index 0b8231b36b2..a48f2a63352 100644 --- a/libjava/classpath/org/omg/DynamicAny/_DynStructStub.java +++ b/libjava/classpath/org/omg/DynamicAny/_DynStructStub.java @@ -1,5 +1,5 @@ /* _DynStructStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,14 +38,17 @@ exception statement from your version. */ package org.omg.DynamicAny; +import java.io.Serializable; + +import org.omg.CORBA.Any; import org.omg.CORBA.MARSHAL; import org.omg.CORBA.TCKind; +import org.omg.CORBA.TypeCode; import org.omg.CORBA.portable.Delegate; +import org.omg.CORBA.portable.ObjectImpl; import org.omg.DynamicAny.DynAnyPackage.InvalidValue; import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; -import java.io.Serializable; - /** * Should provide support for remote invocation of methods on DynStruct. As * DynStruct can never be remote at least till 1.5 inclusive, this class is @@ -54,7 +57,7 @@ import java.io.Serializable; * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class _DynStructStub - extends _DynAnyStub + extends ObjectImpl implements DynStruct, Serializable { /** @@ -77,14 +80,6 @@ public class _DynStructStub } /** - * Create the naming context stub with the given delegate. - */ - public _DynStructStub(Delegate delegate) - { - _set_delegate(delegate); - } - - /** * Return the array of repository ids for this object. */ public String[] _ids() @@ -155,4 +150,543 @@ public class _DynStructStub { throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode type() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean next() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void destroy() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny copy() + { + return this; + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void rewind() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void assign(DynAny _0) + throws TypeMismatch + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int component_count() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny current_component() + throws TypeMismatch + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean equal(DynAny _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void from_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any get_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean get_boolean() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_char() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public double get_double() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny get_dyn_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public float get_float() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_long() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_longlong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public byte get_octet() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public org.omg.CORBA.Object get_reference() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_short() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_string() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode get_typecode() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_ulong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_ulonglong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_ushort() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Serializable get_val() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_wchar() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_wstring() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_boolean(boolean _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_char(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_double(double _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_dyn_any(DynAny _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_float(float _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_long(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_longlong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_octet(byte _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_reference(org.omg.CORBA.Object _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_short(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_string(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_typecode(TypeCode _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulong(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulonglong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ushort(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_val(Serializable _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wchar(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wstring(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean seek(int _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any to_any() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + }
\ No newline at end of file diff --git a/libjava/classpath/org/omg/DynamicAny/_DynUnionStub.java b/libjava/classpath/org/omg/DynamicAny/_DynUnionStub.java index 7f8eba77806..b7ba74e00a8 100644 --- a/libjava/classpath/org/omg/DynamicAny/_DynUnionStub.java +++ b/libjava/classpath/org/omg/DynamicAny/_DynUnionStub.java @@ -1,5 +1,5 @@ /* _DynUnionStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,14 +38,17 @@ exception statement from your version. */ package org.omg.DynamicAny; +import java.io.Serializable; + +import org.omg.CORBA.Any; import org.omg.CORBA.MARSHAL; import org.omg.CORBA.TCKind; +import org.omg.CORBA.TypeCode; import org.omg.CORBA.portable.Delegate; +import org.omg.CORBA.portable.ObjectImpl; import org.omg.DynamicAny.DynAnyPackage.InvalidValue; import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; -import java.io.Serializable; - /** * Should provide support for remote invocation of methods on DynUnion. As * DynUnion can never be remote at least till 1.5 inclusive, this class is @@ -54,7 +57,7 @@ import java.io.Serializable; * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class _DynUnionStub - extends _DynAnyStub + extends ObjectImpl implements DynUnion, Serializable { /** @@ -77,14 +80,6 @@ public class _DynUnionStub } /** - * Create the naming context stub with the given delegate. - */ - public _DynUnionStub(Delegate delegate) - { - _set_delegate(delegate); - } - - /** * Return the array of repository ids for this object. */ public String[] _ids() @@ -187,4 +182,543 @@ public class _DynUnionStub { throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode type() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean next() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void destroy() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny copy() + { + return this; + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void rewind() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void assign(DynAny _0) + throws TypeMismatch + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int component_count() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny current_component() + throws TypeMismatch + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean equal(DynAny _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void from_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any get_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean get_boolean() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_char() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public double get_double() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny get_dyn_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public float get_float() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_long() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_longlong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public byte get_octet() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public org.omg.CORBA.Object get_reference() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_short() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_string() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode get_typecode() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_ulong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_ulonglong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_ushort() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Serializable get_val() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_wchar() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_wstring() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_boolean(boolean _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_char(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_double(double _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_dyn_any(DynAny _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_float(float _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_long(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_longlong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_octet(byte _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_reference(org.omg.CORBA.Object _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_short(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_string(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_typecode(TypeCode _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulong(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulonglong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ushort(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_val(Serializable _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wchar(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wstring(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean seek(int _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any to_any() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + }
\ No newline at end of file diff --git a/libjava/classpath/org/omg/DynamicAny/_DynValueStub.java b/libjava/classpath/org/omg/DynamicAny/_DynValueStub.java index 5319a7b636b..5c6b7a209b2 100644 --- a/libjava/classpath/org/omg/DynamicAny/_DynValueStub.java +++ b/libjava/classpath/org/omg/DynamicAny/_DynValueStub.java @@ -1,5 +1,5 @@ /* _DynValueStub.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,9 +38,12 @@ exception statement from your version. */ package org.omg.DynamicAny; +import org.omg.CORBA.Any; import org.omg.CORBA.MARSHAL; import org.omg.CORBA.TCKind; +import org.omg.CORBA.TypeCode; import org.omg.CORBA.portable.Delegate; +import org.omg.CORBA.portable.ObjectImpl; import org.omg.DynamicAny.DynAnyPackage.InvalidValue; import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; @@ -54,7 +57,7 @@ import java.io.Serializable; * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public class _DynValueStub - extends _DynAnyStub + extends ObjectImpl implements DynValue, Serializable { /** @@ -70,21 +73,13 @@ public class _DynValueStub /** * Create the DynValue stub. To get the stub working, * you must later set the delegate with - * {@link ObjectImpl#_set_delegate(Delegate)}. + * {@link org.omg.CORBA.portable.ObjectImpl#_set_delegate(Delegate)}. */ public _DynValueStub() { } /** - * Create the naming context stub with the given delegate. - */ - public _DynValueStub(Delegate delegate) - { - _set_delegate(delegate); - } - - /** * Return the array of repository ids for this object. */ public String[] _ids() @@ -187,4 +182,543 @@ public class _DynValueStub { throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode type() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean next() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void destroy() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny copy() + { + return this; + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void rewind() + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void assign(DynAny _0) + throws TypeMismatch + { + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int component_count() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny current_component() + throws TypeMismatch + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean equal(DynAny _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void from_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any get_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean get_boolean() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_char() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public double get_double() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public DynAny get_dyn_any() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public float get_float() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_long() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_longlong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public byte get_octet() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public org.omg.CORBA.Object get_reference() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_short() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_string() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public TypeCode get_typecode() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public int get_ulong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public long get_ulonglong() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public short get_ushort() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Serializable get_val() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public char get_wchar() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public String get_wstring() + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_any(Any _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_boolean(boolean _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_char(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_double(double _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_dyn_any(DynAny _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_float(float _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_long(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_longlong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_octet(byte _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_reference(org.omg.CORBA.Object _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_short(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_string(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_typecode(TypeCode _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulong(int _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ulonglong(long _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_ushort(short _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_val(Serializable _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wchar(char _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public void insert_wstring(String _0) + throws TypeMismatch, InvalidValue + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public boolean seek(int _0) + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + + /** + * The remote call of DynAny methods is not possible. + * + * @throws MARSHAL, always. + */ + public Any to_any() + { + throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); + } + }
\ No newline at end of file diff --git a/libjava/classpath/org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java b/libjava/classpath/org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java index 08f8ac4df19..c1988bfd0d9 100644 --- a/libjava/classpath/org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java +++ b/libjava/classpath/org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java @@ -1,5 +1,5 @@ /* UnknownEncoding.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -50,7 +50,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) */ -public class UnknownEncoding +public final class UnknownEncoding extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/IOP/CodecPackage/FormatMismatch.java b/libjava/classpath/org/omg/IOP/CodecPackage/FormatMismatch.java index c82c4899fde..b4cb1366668 100644 --- a/libjava/classpath/org/omg/IOP/CodecPackage/FormatMismatch.java +++ b/libjava/classpath/org/omg/IOP/CodecPackage/FormatMismatch.java @@ -1,5 +1,5 @@ /* FormatMismatch.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -52,7 +52,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) */ -public class FormatMismatch +public final class FormatMismatch extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java b/libjava/classpath/org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java index 4099f58bd46..5a23fdccda8 100644 --- a/libjava/classpath/org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java +++ b/libjava/classpath/org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java @@ -1,5 +1,5 @@ /* InvalidTypeForEncoding.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -53,7 +53,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) */ -public class InvalidTypeForEncoding +public final class InvalidTypeForEncoding extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/IOP/CodecPackage/TypeMismatch.java b/libjava/classpath/org/omg/IOP/CodecPackage/TypeMismatch.java index c4a53b65961..7751c3eb663 100644 --- a/libjava/classpath/org/omg/IOP/CodecPackage/TypeMismatch.java +++ b/libjava/classpath/org/omg/IOP/CodecPackage/TypeMismatch.java @@ -1,5 +1,5 @@ /* TypeMismatch.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -50,7 +50,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) */ -public class TypeMismatch +public final class TypeMismatch extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/IOP/Encoding.java b/libjava/classpath/org/omg/IOP/Encoding.java index 5b36f646f9a..cbf1e9e401a 100644 --- a/libjava/classpath/org/omg/IOP/Encoding.java +++ b/libjava/classpath/org/omg/IOP/Encoding.java @@ -1,5 +1,5 @@ /* Encoding.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -50,7 +50,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class Encoding +public final class Encoding implements IDLEntity, Serializable { /** diff --git a/libjava/classpath/org/omg/IOP/IOR.java b/libjava/classpath/org/omg/IOP/IOR.java index 7ff6dc1eb37..12c47a1ca33 100644 --- a/libjava/classpath/org/omg/IOP/IOR.java +++ b/libjava/classpath/org/omg/IOP/IOR.java @@ -1,5 +1,5 @@ /* IOR.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -51,9 +51,10 @@ import java.io.Serializable; * for the same object or indicate that the object is equal to null. * </p><p> * The IOR is a standard structure, transferred when sending an object with - * {@link org.omg.CORBA.portable.OutputStream#write_Object} and receiving with - * {@link org.omg.CORBA.portable.InputStream#read_Object}. The stringified - * object references, managed by {@link org.omg.CORBA.ORB#string_to_object} + * {@link org.omg.CORBA.portable.OutputStream#write_Object(org.omg.CORBA.Object)} + * and receiving with {@link org.omg.CORBA.portable.InputStream#read_Object()}. + * The stringified object references, managed by + * {@link org.omg.CORBA.ORB#string_to_object} * and {@link org.omg.CORBA.ORB#object_to_string} are also IORs, where the * initially binary data are encoded as strings using hexadecimal notation. * </p><p> @@ -67,7 +68,7 @@ import java.io.Serializable; * gnu.CORBA.IOR. The reason is that IORs are required from 1.2, but only * in 1.4 the associated classes appear in the public API. */ -public class IOR +public final class IOR implements IDLEntity, Serializable { /** diff --git a/libjava/classpath/org/omg/IOP/IORHolder.java b/libjava/classpath/org/omg/IOP/IORHolder.java index cdf0d74d5d6..144c7993a59 100644 --- a/libjava/classpath/org/omg/IOP/IORHolder.java +++ b/libjava/classpath/org/omg/IOP/IORHolder.java @@ -1,5 +1,5 @@ /* IORHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class IORHolder +public final class IORHolder implements Streamable { /** @@ -74,7 +74,7 @@ public class IORHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/IOP/MultipleComponentProfileHolder.java b/libjava/classpath/org/omg/IOP/MultipleComponentProfileHolder.java index ee9652282f4..2be0e714b3f 100644 --- a/libjava/classpath/org/omg/IOP/MultipleComponentProfileHolder.java +++ b/libjava/classpath/org/omg/IOP/MultipleComponentProfileHolder.java @@ -1,5 +1,5 @@ /* MultipleComponentProfileHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,11 +45,11 @@ import org.omg.CORBA.portable.OutputStream; /** * A holder for the sequence of {@link TaggedComponent} - * ({@link MultipleComponentProfile}). + * ({@link org.omg.IOP.MultipleComponentProfileHelper}). * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class MultipleComponentProfileHolder +public final class MultipleComponentProfileHolder implements Streamable { /** @@ -76,7 +76,7 @@ public class MultipleComponentProfileHolder } /** - * Read the {@link value} array from the CDR stream. + * Read the {@link #value} array from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/IOP/ServiceContextHolder.java b/libjava/classpath/org/omg/IOP/ServiceContextHolder.java index 28dcb3ea5af..1b9896d034b 100644 --- a/libjava/classpath/org/omg/IOP/ServiceContextHolder.java +++ b/libjava/classpath/org/omg/IOP/ServiceContextHolder.java @@ -1,5 +1,5 @@ /* ServiceContextHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ServiceContextHolder +public final class ServiceContextHolder implements Streamable { /** @@ -74,7 +74,7 @@ public class ServiceContextHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/IOP/ServiceContextListHolder.java b/libjava/classpath/org/omg/IOP/ServiceContextListHolder.java index 2a186101dd1..95fd091dfa3 100644 --- a/libjava/classpath/org/omg/IOP/ServiceContextListHolder.java +++ b/libjava/classpath/org/omg/IOP/ServiceContextListHolder.java @@ -1,5 +1,5 @@ /* ServiceContextListHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ServiceContextListHolder +public final class ServiceContextListHolder implements Streamable { /** @@ -74,7 +74,7 @@ public class ServiceContextListHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/IOP/TaggedComponent.java b/libjava/classpath/org/omg/IOP/TaggedComponent.java index b8aa17f2d65..66437e701bd 100644 --- a/libjava/classpath/org/omg/IOP/TaggedComponent.java +++ b/libjava/classpath/org/omg/IOP/TaggedComponent.java @@ -1,5 +1,5 @@ /* TaggedComponent.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -56,7 +56,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class TaggedComponent +public final class TaggedComponent implements IDLEntity, Serializable { /** diff --git a/libjava/classpath/org/omg/IOP/TaggedComponentHolder.java b/libjava/classpath/org/omg/IOP/TaggedComponentHolder.java index 28df24f119c..b233591f23c 100644 --- a/libjava/classpath/org/omg/IOP/TaggedComponentHolder.java +++ b/libjava/classpath/org/omg/IOP/TaggedComponentHolder.java @@ -1,5 +1,5 @@ /* TaggedComponentHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import org.omg.CORBA.portable.OutputStream; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class TaggedComponentHolder +public final class TaggedComponentHolder implements Streamable { /** @@ -74,7 +74,7 @@ public class TaggedComponentHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/IOP/TaggedProfile.java b/libjava/classpath/org/omg/IOP/TaggedProfile.java index 66494fdb437..669b73a5956 100644 --- a/libjava/classpath/org/omg/IOP/TaggedProfile.java +++ b/libjava/classpath/org/omg/IOP/TaggedProfile.java @@ -1,5 +1,5 @@ /* TaggedProfile.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -72,7 +72,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class TaggedProfile +public final class TaggedProfile implements IDLEntity, Serializable { /** diff --git a/libjava/classpath/org/omg/IOP/TaggedProfileHolder.java b/libjava/classpath/org/omg/IOP/TaggedProfileHolder.java index 7edb1d46b9a..f739097e35b 100644 --- a/libjava/classpath/org/omg/IOP/TaggedProfileHolder.java +++ b/libjava/classpath/org/omg/IOP/TaggedProfileHolder.java @@ -1,5 +1,5 @@ /* TaggedProfileHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class TaggedProfileHolder +public final class TaggedProfileHolder implements Streamable { /** @@ -74,7 +74,7 @@ public class TaggedProfileHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/Messaging/SyncScopeHelper.java b/libjava/classpath/org/omg/Messaging/SyncScopeHelper.java index 1d482c57950..f716edfaf48 100644 --- a/libjava/classpath/org/omg/Messaging/SyncScopeHelper.java +++ b/libjava/classpath/org/omg/Messaging/SyncScopeHelper.java @@ -1,5 +1,5 @@ /* SyncScopeHelper.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -55,15 +55,11 @@ import org.omg.CORBA.portable.OutputStream; * * @see SYNC_WITH_TRANSPORT */ -public class SyncScopeHelper +public abstract class SyncScopeHelper { - /** - * A cached typecode value, computed only once. - */ - private static TypeCode typecode; /** - * Delegates call to {@link Any.extract_short()}. + * Delegates call to {@link Any#extract_short()}. */ public static short extract(Any a) { @@ -81,7 +77,7 @@ public class SyncScopeHelper } /** - * Delegates call to {@link Any.insert_short(short)}. + * Delegates call to {@link Any#insert_short(short)}. */ public static void insert(Any a, short that) { @@ -89,7 +85,7 @@ public class SyncScopeHelper } /** - * Delegates call to {@link InputStream.read_short()}. + * Delegates call to {@link InputStream#read_short()}. */ public static short read(InputStream istream) { @@ -112,7 +108,7 @@ public class SyncScopeHelper } /** - * Delegates call to {@link OutputStream.write_short()}. + * Delegates call to {@link OutputStream#write_short(short)}. */ public static void write(OutputStream ostream, short value) { diff --git a/libjava/classpath/org/omg/PortableInterceptor/ForwardRequest.java b/libjava/classpath/org/omg/PortableInterceptor/ForwardRequest.java index 7e7d7a3f4b3..7202f23440a 100644 --- a/libjava/classpath/org/omg/PortableInterceptor/ForwardRequest.java +++ b/libjava/classpath/org/omg/PortableInterceptor/ForwardRequest.java @@ -1,5 +1,5 @@ /* ForwardRequest.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -50,7 +50,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ForwardRequest extends UserException implements IDLEntity, +public final class ForwardRequest extends UserException implements IDLEntity, Serializable { /** diff --git a/libjava/classpath/org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java b/libjava/classpath/org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java index dc7ecf23faa..f4830a2e1c6 100644 --- a/libjava/classpath/org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java +++ b/libjava/classpath/org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java @@ -1,5 +1,5 @@ /* IORInterceptor_3_0Holder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class IORInterceptor_3_0Holder +public final class IORInterceptor_3_0Holder implements Streamable { /** @@ -77,7 +77,7 @@ public class IORInterceptor_3_0Holder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/PortableInterceptor/InvalidSlot.java b/libjava/classpath/org/omg/PortableInterceptor/InvalidSlot.java index 72805cf72cf..30cb1a1dc49 100644 --- a/libjava/classpath/org/omg/PortableInterceptor/InvalidSlot.java +++ b/libjava/classpath/org/omg/PortableInterceptor/InvalidSlot.java @@ -1,5 +1,5 @@ /* InvalidSlot.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class InvalidSlot extends UserException implements IDLEntity, +public final class InvalidSlot extends UserException implements IDLEntity, Serializable { /** diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java index 187273725e9..610cec1d020 100644 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java +++ b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java @@ -1,5 +1,5 @@ /* DuplicateName.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -54,7 +54,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) */ -public class DuplicateName extends UserException implements IDLEntity, +public final class DuplicateName extends UserException implements IDLEntity, Serializable { /** diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java index 17c6c6bc27e..ff940dafc7e 100644 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java +++ b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java @@ -1,5 +1,5 @@ /* InvalidName.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -52,7 +52,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) */ -public class InvalidName extends UserException implements IDLEntity, +public final class InvalidName extends UserException implements IDLEntity, Serializable { /** diff --git a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java index c22d14a11fd..5d9812d9f2b 100644 --- a/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java +++ b/libjava/classpath/org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java @@ -1,5 +1,5 @@ /* ObjectIdHelper.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -53,10 +53,10 @@ import org.omg.CORBA.portable.OutputStream; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ObjectIdHelper +public abstract class ObjectIdHelper { /** - * Insert the Object Id into Any (uses {@link Any.insert_string}). + * Insert the Object Id into Any (uses {@link Any#insert_string(String)}). * * @param a the Any to insert into. * @param that the string to insert. @@ -67,7 +67,7 @@ public class ObjectIdHelper } /** - * Extract the Object Id from Any ((uses {@link Any.extract_string}). + * Extract the Object Id from Any (uses {@link Any#extract_string()}). * * @param a the Any to extract from. */ @@ -105,7 +105,7 @@ public class ObjectIdHelper } /** - * Calls {@link OutputStream#write_string()}. + * Calls {@link OutputStream#write_string(String)}. * * @param output the stream to write into. * @param value the string (Object Id) value to write. diff --git a/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactory.java b/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactory.java index 55cde585c5e..83f3da652c0 100644 --- a/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactory.java +++ b/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactory.java @@ -1,5 +1,5 @@ /* ObjectReferenceFactory.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,20 +38,38 @@ exception statement from your version. */ package org.omg.PortableInterceptor; +import org.omg.CORBA.Object; import org.omg.CORBA.portable.IDLEntity; +import org.omg.CORBA.portable.ValueBase; /** * Provides the possibility to create the CORBA object reference. * The reference is created from repository id (defining the type of the * object) and the object id (defining the identity of the object). - * The operation for creating reference is defined separately in - * {@link ObjectReferenceFactoryOperations}. * * @since 1.5 * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public interface ObjectReferenceFactory - extends ObjectReferenceFactoryOperations, IDLEntity + extends ValueBase, IDLEntity { + /** + * Create an object with the given repository and object ids. This interface + * does not specify where and how the returned object must be connected and + * activated. The derived {@link ObjectReferenceTemplate} interface assumes + * the object must be connected to the POA that is specific to that + * template (name can be obtained). + * + * If the object with this objectId already exists in the given context, it + * is found and returned; a new object is <i>not</i> created. + * + * @param repositoryId the repository id of the object being created, defines + * the type of the object. + * + * @param objectId the byte array, defining the identity of the object. + * + * @return The created corba object. + */ + Object make_object(String repositoryId, byte[] objectId); }
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java b/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java index fc68ec5c148..c662977a2de 100644 --- a/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java +++ b/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java @@ -1,5 +1,5 @@ /* ObjectReferenceFactoryHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ObjectReferenceFactoryHolder +public final class ObjectReferenceFactoryHolder implements Streamable { /** @@ -76,7 +76,7 @@ public class ObjectReferenceFactoryHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java b/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java deleted file mode 100644 index b5d912d12be..00000000000 --- a/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java +++ /dev/null @@ -1,69 +0,0 @@ -/* ObjectReferenceFactoryOperations.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; - -import org.omg.CORBA.portable.ValueBase; - -/** - * Defines the operations, applicable to the ObjectReferenceFactory. - * - * @since 1.5 - * - * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) - */ -public interface ObjectReferenceFactoryOperations - extends ValueBase -{ - /** - * Create an object with the given repository and object ids. This interface - * does not specify where and how the returned object must be connected and - * activated. The derived {@link ObjectReferenceTemplate} interface assumes - * the the object must be connected to the POA that is specific to that - * template (name can be obtained). - * - * If the object with this objectId already exists in the given context, it is - * found and returned; the new object is <i>not</i> created. - * - * @param repositoryId the repository id of the object being created, defines - * the type of the object. - * - * @param objectId the byte array, defining the identity of the object. - */ - org.omg.CORBA.Object make_object(String repositoryId, byte[] objectId); -}
\ No newline at end of file diff --git a/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java b/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java index 9658e1fa718..d76ef43f1e0 100644 --- a/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java +++ b/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java @@ -1,5 +1,5 @@ /* ObjectReferenceTemplateHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import org.omg.CORBA.portable.OutputStream; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ObjectReferenceTemplateHolder +public final class ObjectReferenceTemplateHolder implements Streamable { /** @@ -74,7 +74,7 @@ public class ObjectReferenceTemplateHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java b/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java index d16f5cedd9f..3fdc2bfe8c0 100644 --- a/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java +++ b/libjava/classpath/org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java @@ -1,5 +1,5 @@ /* ObjectReferenceTemplateSeqHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -47,7 +47,7 @@ import org.omg.CORBA.portable.OutputStream; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ObjectReferenceTemplateSeqHolder +public final class ObjectReferenceTemplateSeqHolder implements Streamable { /** @@ -75,7 +75,7 @@ public class ObjectReferenceTemplateSeqHolder } /** - * Fill in the {@link value} by data from the CDR stream. + * Fill in the {@link #value} by data from the CDR stream. * * @param input the org.omg.CORBA.portable stream to read. */ diff --git a/libjava/classpath/org/omg/PortableServer/CurrentPackage/NoContext.java b/libjava/classpath/org/omg/PortableServer/CurrentPackage/NoContext.java index eaefee30699..c2305ffd8dd 100644 --- a/libjava/classpath/org/omg/PortableServer/CurrentPackage/NoContext.java +++ b/libjava/classpath/org/omg/PortableServer/CurrentPackage/NoContext.java @@ -1,5 +1,5 @@ /* NoContext.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -53,7 +53,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) */ -public class NoContext +public final class NoContext extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/ForwardRequest.java b/libjava/classpath/org/omg/PortableServer/ForwardRequest.java index f0588f4653f..3976de64fc4 100644 --- a/libjava/classpath/org/omg/PortableServer/ForwardRequest.java +++ b/libjava/classpath/org/omg/PortableServer/ForwardRequest.java @@ -1,5 +1,5 @@ /* ForwardRequest.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -60,7 +60,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ForwardRequest +public final class ForwardRequest extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAManagerPackage/AdapterInactive.java b/libjava/classpath/org/omg/PortableServer/POAManagerPackage/AdapterInactive.java index 29720d7ca96..55115c259aa 100644 --- a/libjava/classpath/org/omg/PortableServer/POAManagerPackage/AdapterInactive.java +++ b/libjava/classpath/org/omg/PortableServer/POAManagerPackage/AdapterInactive.java @@ -1,5 +1,5 @@ /* AdapterInactive.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class AdapterInactive +public final class AdapterInactive extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java b/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java index ace2c842fae..c7e43f01db3 100644 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java +++ b/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java @@ -1,5 +1,5 @@ /* AdapterAlreadyExists.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class AdapterAlreadyExists +public final class AdapterAlreadyExists extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterNonExistent.java b/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterNonExistent.java index 9d0a79f73f4..a7ad6184856 100644 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterNonExistent.java +++ b/libjava/classpath/org/omg/PortableServer/POAPackage/AdapterNonExistent.java @@ -1,5 +1,5 @@ /* AdapterNonExistent.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class AdapterNonExistent +public final class AdapterNonExistent extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/InvalidPolicy.java b/libjava/classpath/org/omg/PortableServer/POAPackage/InvalidPolicy.java index 459335a1b44..51ef615fbc2 100644 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/InvalidPolicy.java +++ b/libjava/classpath/org/omg/PortableServer/POAPackage/InvalidPolicy.java @@ -1,5 +1,5 @@ /* InvalidPolicy.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -52,7 +52,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class InvalidPolicy +public final class InvalidPolicy extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/NoServant.java b/libjava/classpath/org/omg/PortableServer/POAPackage/NoServant.java index 3f635401778..cc786a3ea14 100644 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/NoServant.java +++ b/libjava/classpath/org/omg/PortableServer/POAPackage/NoServant.java @@ -1,5 +1,5 @@ /* NoServant.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class NoServant +public final class NoServant extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java index 5a3b15e88be..f14e5c91bad 100644 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java +++ b/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java @@ -1,5 +1,5 @@ /* ObjectAlreadyActive.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -48,7 +48,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ObjectAlreadyActive +public final class ObjectAlreadyActive extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectNotActive.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectNotActive.java index 4d70af4b820..823c8ead5fd 100644 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectNotActive.java +++ b/libjava/classpath/org/omg/PortableServer/POAPackage/ObjectNotActive.java @@ -1,5 +1,5 @@ /* ObjectNotActive.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ObjectNotActive +public final class ObjectNotActive extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantAlreadyActive.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ServantAlreadyActive.java index 71786ce9107..4f2b1586a6b 100644 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantAlreadyActive.java +++ b/libjava/classpath/org/omg/PortableServer/POAPackage/ServantAlreadyActive.java @@ -1,5 +1,5 @@ /* ServantAlreadyActive.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -53,7 +53,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ServantAlreadyActive +public final class ServantAlreadyActive extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantNotActive.java b/libjava/classpath/org/omg/PortableServer/POAPackage/ServantNotActive.java index fd223e3ea99..2383b278612 100644 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/ServantNotActive.java +++ b/libjava/classpath/org/omg/PortableServer/POAPackage/ServantNotActive.java @@ -1,5 +1,5 @@ /* ServantNotActive.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ServantNotActive +public final class ServantNotActive extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongAdapter.java b/libjava/classpath/org/omg/PortableServer/POAPackage/WrongAdapter.java index ea8d011a01e..81b4ffb9788 100644 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongAdapter.java +++ b/libjava/classpath/org/omg/PortableServer/POAPackage/WrongAdapter.java @@ -1,5 +1,5 @@ /* WrongAdapter.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -50,7 +50,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class WrongAdapter +public final class WrongAdapter extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongPolicy.java b/libjava/classpath/org/omg/PortableServer/POAPackage/WrongPolicy.java index 9f589d7d644..b2102dcbcc0 100644 --- a/libjava/classpath/org/omg/PortableServer/POAPackage/WrongPolicy.java +++ b/libjava/classpath/org/omg/PortableServer/POAPackage/WrongPolicy.java @@ -1,5 +1,5 @@ /* WrongPolicy.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,7 +49,7 @@ import java.io.Serializable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class WrongPolicy +public final class WrongPolicy extends UserException implements IDLEntity, Serializable { diff --git a/libjava/classpath/org/omg/PortableServer/ServantActivatorPOA.java b/libjava/classpath/org/omg/PortableServer/ServantActivatorPOA.java index 5ea0be4b3ee..c94866ab259 100644 --- a/libjava/classpath/org/omg/PortableServer/ServantActivatorPOA.java +++ b/libjava/classpath/org/omg/PortableServer/ServantActivatorPOA.java @@ -1,5 +1,5 @@ /* ServantActivatorPOA.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -58,11 +58,11 @@ import org.omg.CORBA.portable.ResponseHandler; * You do not need to derive your servant activator from this stub, * it is enough to implement the {@link ServantActivator} interface. * But you may choose to do this if you need the functional - * {@link #_all_interfaces()} method or want to keep default behavior during - * the incarnation or etherialization. + * {@link #_all_interfaces(POA, byte[])} method or want to keep default + * behavior during the incarnation or etherialization. * </p> */ -public class ServantActivatorPOA +public abstract class ServantActivatorPOA extends Servant implements InvokeHandler, ServantActivatorOperations { @@ -98,42 +98,6 @@ public class ServantActivatorPOA } /** - * It is your responsibility to handle the incarnation event and - * supply the servant. - * The default method instructs POA that the servant cannot be - * provided by activator. The OBJ_ADAPTER exception will be - * thrown by POA, unless the servant is provided as one of the - * parameters in the activation method, or the default servant is set. - * - * @see ServantActivatorOperations#incarnate - * - * @specnote in GNU Classpath, returning null means that the - * activator does not supply the servant. The servant can still be supplied - * as one of parameters in some POA activation methods or as a default - * servant. - * - * @throws ForwardRequest - */ - public Servant incarnate(byte[] Object_Id, POA poa) - throws ForwardRequest - { - return null; - } - - /** - * It is your responsibility to handle the etherialization event. - * Override this method if using the class. The default method - * does nothing. - * - * @see ServantActivatorOperations#incarnate - */ - public void etherealize(byte[] Object_Id, POA poa, Servant servant, - boolean cleanup, boolean remains - ) - { - } - - /** * Our implementation will not call this method. After setting your * manager to POA, it will call incarnate and etherialize directly. */ diff --git a/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java b/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java index 0a0f996610e..8e9c7aeb59a 100644 --- a/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java +++ b/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java @@ -1,5 +1,5 @@ /* ServantLocatorPOA.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -59,12 +59,12 @@ import org.omg.PortableServer.ServantLocatorPackage.CookieHolder; * You do not need to derive your servant locator from this stub, * it is enough to implement the {@link ServantLocator} interface. * But you may choose to do this if you need its functional - * {@link #_ids()} method or want to keep default behavior during per- - * or post- invokcations. + * {@link org.omg.PortableServer.ServantActivatorPOA.delegator#_ids()} + * method or want to keep default behaviour during pre- or post- invokcations. * </p> * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ServantLocatorPOA +public abstract class ServantLocatorPOA extends Servant implements ServantLocatorOperations, InvokeHandler { @@ -74,40 +74,6 @@ public class ServantLocatorPOA final ServantLocatorPOA THIS = this; /** - * It is your responsibility to take the preinvoke actions, if any, - * and also supply an appropriate servant for the current invocation. - * - * The default method instructs POA that the servant cannot be - * provided by locator. The OBJ_ADAPTER exception will be - * thrown by POA, unless it uses the available default servant for all - * invocations. - * - * @specnote in GNU Classpath, returning null means that the - * locator does not supply the servant. - * - * @see ServantLocatorOperations#preinvoke - */ - public Servant preinvoke(byte[] Object_Id, POA poa, String method, - CookieHolder cookie_holder - ) - throws org.omg.PortableServer.ForwardRequest - { - return null; - } - - /** - * It is your responsibility to take the postinvoke actions, if any, - * by overriding this method. The default method does nothing. - * - * @see ServantLocatorOperations#postinvoke - */ - public void postinvoke(byte[] Object_Id, POA poa, String method, - java.lang.Object cookie, Servant servant - ) - { - } - - /** * Our implementation will not call this method. After setting your * manager to POA, it will call incarnate and etherialize directly. */ diff --git a/libjava/classpath/org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java b/libjava/classpath/org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java index e62bde709d1..ebae51b605c 100644 --- a/libjava/classpath/org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java +++ b/libjava/classpath/org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java @@ -1,5 +1,5 @@ /* CookieHolder.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -56,7 +56,7 @@ import org.omg.CORBA.portable.Streamable; * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class CookieHolder +public final class CookieHolder implements Streamable { /** |