summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAudrius Meskauskas <audriusa@Bioinformatics.org>2005-06-11 20:43:36 +0000
committerAudrius Meskauskas <audriusa@Bioinformatics.org>2005-06-11 20:43:36 +0000
commitcb07ec3dd660879e604b11ac9edb0c8547d7febe (patch)
tree8f29af821bbc44d996abc0b0b40bde8fd006af68
parent1c3767df60c270118b9a6cde9ec12a101a073127 (diff)
downloadclasspath-cb07ec3dd660879e604b11ac9edb0c8547d7febe.tar.gz
2005-06-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* org/omg/CORBA/ORB.java, org/omg/CORBA/CustomValue.java, org/omg/CORBA/VM_ABSTRACT.java, org/omg/CORBA/VM_CUSTOM.java, org/omg/CORBA/VM_NONE.java, org/omg/CORBA/VM_TRUNCATABLE.java, org/omg/CORBA/VM_TRUNCATABLE.java, org/omg/CORBA/portable/ValueBase.java, org/omg/CORBA_2_3/portable/package.html: Documentation update. org/omg/CORBA_2_3/package.html: New file.
-rw-r--r--ChangeLog13
-rw-r--r--org/omg/CORBA/CustomValue.java3
-rw-r--r--org/omg/CORBA/ORB.java11
-rw-r--r--org/omg/CORBA/VM_ABSTRACT.java8
-rw-r--r--org/omg/CORBA/VM_CUSTOM.java10
-rw-r--r--org/omg/CORBA/VM_NONE.java8
-rw-r--r--org/omg/CORBA/VM_TRUNCATABLE.java10
-rw-r--r--org/omg/CORBA/package.html6
-rw-r--r--org/omg/CORBA/portable/ValueBase.java5
-rw-r--r--org/omg/CORBA_2_3/package.html46
-rw-r--r--org/omg/CORBA_2_3/portable/package.html3
11 files changed, 99 insertions, 24 deletions
diff --git a/ChangeLog b/ChangeLog
index f22aca05c..5849c45d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,17 @@
2005-06-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ * org/omg/CORBA/ORB.java,
+ org/omg/CORBA/CustomValue.java,
+ org/omg/CORBA/VM_ABSTRACT.java,
+ org/omg/CORBA/VM_CUSTOM.java,
+ org/omg/CORBA/VM_NONE.java,
+ org/omg/CORBA/VM_TRUNCATABLE.java,
+ org/omg/CORBA/VM_TRUNCATABLE.java,
+ org/omg/CORBA/portable/ValueBase.java,
+ org/omg/CORBA_2_3/portable/package.html: Documentation update.
+ org/omg/CORBA_2_3/package.html: New file.
+
+2005-06-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* org/omg/CORBA/portable/StreamableValue.java,
org/omg/CORBA/portable/CustomValue.java,
diff --git a/org/omg/CORBA/CustomValue.java b/org/omg/CORBA/CustomValue.java
index 615e9d081..96079ba8c 100644
--- a/org/omg/CORBA/CustomValue.java
+++ b/org/omg/CORBA/CustomValue.java
@@ -49,6 +49,9 @@ import org.omg.CORBA.portable.ValueBase;
* base type. They and always require an exact match for their RepositoryId
* in the receiving context.
*
+ * If the value base does not implement this interface, it normally implements
+ * {@link org.omg.CORBA.portable.StremableValue} instead.
+ *
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
*/
public interface CustomValue
diff --git a/org/omg/CORBA/ORB.java b/org/omg/CORBA/ORB.java
index 90b5d7835..2cb8086c6 100644
--- a/org/omg/CORBA/ORB.java
+++ b/org/omg/CORBA/ORB.java
@@ -58,7 +58,16 @@ import java.io.IOException;
import java.util.Properties;
/**
- * When creating an ORB instance is being created, the class name
+ * A central class in CORBA implementation, responsible for sending and
+ * handling remote invocations. ORB also works as a factory for
+ * creating instances of certain CORBA classes.
+ *
+ * Despite the core library contains the fully working CORBA implementation,
+ * it also provides a simple way to plug-in the alternative CORBA support.
+ * This is done by replacing the ORB. The alternative ORB can be specified
+ * via properties, passed to ORB.Init(...).
+ *
+ * When creating an ORB instance, the class name
* is searched in the following locations:
* <p>
* 1. Applet parameter or application string array, if any.<br>
diff --git a/org/omg/CORBA/VM_ABSTRACT.java b/org/omg/CORBA/VM_ABSTRACT.java
index 3750404d7..210c393fe 100644
--- a/org/omg/CORBA/VM_ABSTRACT.java
+++ b/org/omg/CORBA/VM_ABSTRACT.java
@@ -1,4 +1,4 @@
-/* VM_ABSTRACT.java --
+/* VM_ABSTRACT.java --
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,9 +38,9 @@ exception statement from your version. */
package org.omg.CORBA;
/**
- * Holds a single constant, specifying, the
- * abstract interface in a typecode.
- *
+ * Specifies that the object is an abstract interface. One of the possible
+ * values, returned by {@link TypeCode#type_modifier()}.
+ *
* @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
*/
public interface VM_ABSTRACT
diff --git a/org/omg/CORBA/VM_CUSTOM.java b/org/omg/CORBA/VM_CUSTOM.java
index 950225582..272f2261d 100644
--- a/org/omg/CORBA/VM_CUSTOM.java
+++ b/org/omg/CORBA/VM_CUSTOM.java
@@ -1,4 +1,4 @@
-/* VM_CUSTOM.java --
+/* VM_CUSTOM.java --
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,15 +38,15 @@ exception statement from your version. */
package org.omg.CORBA;
/**
- * Holds a single constant, specifying, that
- * the code used to represent a custom marshalled value type in a typecode.
- *
+ * Indicates a custom marshalled value type. One of the possible
+ * values, returned by {@link TypeCode#type_modifier()}.
+ *
* @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
*/
public interface VM_CUSTOM
{
/**
- * States that the code used to represent a custom
+ * States that the code used to represent a custom
* marshalled value type in a typecode.
*/
short value = 1;
diff --git a/org/omg/CORBA/VM_NONE.java b/org/omg/CORBA/VM_NONE.java
index 4790cac69..7e32204ca 100644
--- a/org/omg/CORBA/VM_NONE.java
+++ b/org/omg/CORBA/VM_NONE.java
@@ -1,4 +1,4 @@
-/* VM_NONE.java --
+/* VM_NONE.java --
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,10 +38,8 @@ exception statement from your version. */
package org.omg.CORBA;
/**
- * Holds a single constant, specifying, that
- * the code used to represent the one of the values
- * of a value type in a typecode.
- *
+ * One of the possible values, returned by {@link TypeCode#type_modifier()}.
+ *
* @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
*/
public interface VM_NONE
diff --git a/org/omg/CORBA/VM_TRUNCATABLE.java b/org/omg/CORBA/VM_TRUNCATABLE.java
index 8bb7d56ba..f38e93f7a 100644
--- a/org/omg/CORBA/VM_TRUNCATABLE.java
+++ b/org/omg/CORBA/VM_TRUNCATABLE.java
@@ -1,4 +1,4 @@
-/* VM_TRUNCATABLE.java --
+/* VM_TRUNCATABLE.java --
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,15 +38,15 @@ exception statement from your version. */
package org.omg.CORBA;
/**
- * Holds a single constant, specifying, that
- * the code used to represent a truncatable value type in a typecode.
- *
+ * Indicates a truncatable value type. One of the possible
+ * values, returned by {@link TypeCode#type_modifier()}.
+ *
* @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
*/
public interface VM_TRUNCATABLE
{
/**
- * States that the code used to represent a truncatable
+ * States that the code used to represent a truncatable
* value type in a typecode.
*/
short value = 3;
diff --git a/org/omg/CORBA/package.html b/org/omg/CORBA/package.html
index 87ab8ba28..14ed07459 100644
--- a/org/omg/CORBA/package.html
+++ b/org/omg/CORBA/package.html
@@ -61,6 +61,12 @@ including the fully functional Object Request Broker ({@link org.omg.CORBA.ORB})
stringified IOR reference of that object or Big Endian, if no such data
available.
</p>
+ <p>
+ The current release supports the Value types that appeared since v 1.3 and are
+ something between CORBA structures (no methods, data local) and CORBA objects
+ (both methods and data remote). Value type has local data, can have
+ local methods and is transferred by value, not by IOR reference.
+ </p>
<p>
You can use both request-oriented (based on {@link org.omg.CORBA.Request})
and stream-oriented (based on {@link org.omg.CORBA.portable.ObjectImpl})
diff --git a/org/omg/CORBA/portable/ValueBase.java b/org/omg/CORBA/portable/ValueBase.java
index 3676523ad..1504cb817 100644
--- a/org/omg/CORBA/portable/ValueBase.java
+++ b/org/omg/CORBA/portable/ValueBase.java
@@ -43,9 +43,8 @@ package org.omg.CORBA.portable;
* ValueBase is the basic interface for all CORBA value data types. A value
* type is something between CORBA structure and CORBA object. Like CORBA
* object, it can have methods, supporting some IDL-defined interface.
- * However, like structures, they are always local and passed by value,
- * not by IOR reference. The Sun's implementation transfers the value types
- * using java serialization mechanism.
+ * However, like structures, they are local and passed by value,
+ * not by IOR reference.
*
* Unlike CORBA objects, values are not connected to any ORB by
* default; they hanlde the implemented functionality locally. The classes,
diff --git a/org/omg/CORBA_2_3/package.html b/org/omg/CORBA_2_3/package.html
new file mode 100644
index 000000000..96bfd1a9d
--- /dev/null
+++ b/org/omg/CORBA_2_3/package.html
@@ -0,0 +1,46 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<!-- package.html -
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. -->
+
+<html>
+<head><title>GNU Classpath - org.omg.CORBA_2_3</title></head>
+
+<body>
+<p>This package supports the ORB extendsions that appeared since CORBA 2_3.</p>
+
+</body>
+</html>
diff --git a/org/omg/CORBA_2_3/portable/package.html b/org/omg/CORBA_2_3/portable/package.html
index 9be95fcb4..e81fadeb6 100644
--- a/org/omg/CORBA_2_3/portable/package.html
+++ b/org/omg/CORBA_2_3/portable/package.html
@@ -40,7 +40,8 @@ exception statement from your version. -->
<head><title>GNU Classpath - org.omg.CORBA_2_3.portable</title></head>
<body>
-<p>This package mainly provides methods for the input and output of value types. It also contains other extensions, required for CORBA 2_3.</p>
+<p>This package supports the communication extensions that appeared since CORBA 2_3.
+It mainly provides methods for input and output of value types. </p>
</body>
</html>