summaryrefslogtreecommitdiff
path: root/org/omg/CORBA
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 /org/omg/CORBA
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.
Diffstat (limited to 'org/omg/CORBA')
-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
8 files changed, 38 insertions, 23 deletions
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,