summaryrefslogtreecommitdiff
path: root/org
diff options
context:
space:
mode:
authorAudrius Meskauskas <audriusa@Bioinformatics.org>2005-09-02 15:53:05 +0000
committerAudrius Meskauskas <audriusa@Bioinformatics.org>2005-09-02 15:53:05 +0000
commit16d2ccf44ebcc6f1caa902cb75a61bf2dc21b153 (patch)
tree496184a12d3273b47a091261c7f85b8eef8e47ef /org
parent57449b75ee1714d1ce50d04f4db4db84f797068e (diff)
downloadclasspath-16d2ccf44ebcc6f1caa902cb75a61bf2dc21b153.tar.gz
2005-09-02 <AudriusA@Bioinformatics.org>
* gnu/CORBA/IOR_Delegate.java (request), gnu/CORBA/SocketRepository.java (get_socket), gnu/CORBA/gnuRequest (getParameterStream), gnu/CORBA/NamingService/NameParser.java, gnu/CORBA/NamingService/NamingServiceTransient.java: Rewritten. * gnu/CORBA/Functional_ORB.java (nameParser): New field. (string_to_object): Rewritten. (ior_to_object): Made public. * org/omg/CORBA/ORB.java (string_to_object): Documentation update.
Diffstat (limited to 'org')
-rw-r--r--org/omg/CORBA/ORB.java34
1 files changed, 31 insertions, 3 deletions
diff --git a/org/omg/CORBA/ORB.java b/org/omg/CORBA/ORB.java
index 5ea733d56..9163736eb 100644
--- a/org/omg/CORBA/ORB.java
+++ b/org/omg/CORBA/ORB.java
@@ -976,9 +976,37 @@ public abstract class ORB
* This type of reference may also contain multiple addresses (see
* OMG documentation for complete format).<br>
* 3. <b>corbaloc:rir:/</b><i>name</i> defines internal reference on this
- * ORB that is resolved using {@link #resolve_initial_references}, using
- * the given <i>name</i>.
- * <br>
+ * ORB that is resolved using {@link #resolve_initial_references}, passing
+ * the given <i>name</i> as parameter.<br>
+ * 4. <b>corbaname:rir:#</b><i>name</i> states that the given <i>name</i>
+ * must be resolved using the naming service, default for this ORB.<br>
+ * 5. <b>corbaname:</b>[<b>iiop</b>][version.subversion<b>@</b>]<b>:</b>host[<b>:</b>port]<b>#</b><i>name</i>
+ * states that the <i>name</i> must be resolved using the naming service
+ * that runs on the given host at the given port. The ORB expects to find
+ * there the {@link org.omg.CosNaming.NamingContext} under the key
+ * "NameService.<br>
+ *
+ * <p>The default port is always 2809. The default iiop version is 1.0
+ * that now may not always be supported, so we would recommend to specify
+ * the version explicitly.</p>
+ * <p>
+ * The examples of the corbaloc and corbaname addresses:<br>
+ * corbaname:rir:#xobj - ask local naming service for "xobj".<br>
+ * corbaname:rir:/NameService#xobj - same (long form).<br>
+ * corbaname:iiop:1.2@localhost:900#xobj - same, assuming that the naming
+ * service runs at port 900 on the local host and supports iiop 1.2.<br>
+ * corbaname:iiop:localhost#xobj - same, assuming that the naming
+ * service runs at port 2809 on the local host and supports iiop 1.0.<br>
+ * corbaloc::gnu.xxx.yy/Prod/TradingService - the object exists on the
+ * host gnu.xxx.yy, port 2809 having the key "Prod/TradingService". Its ORB
+ * supports iiop 1.0.<br>
+ * corbaloc::gnu.xxx.yy/Prod/TradingService:801 - the object exists on the
+ * host gnu.xxx.yy, port 801 having the key "Prod/TradingService". Its ORB
+ * supports iiop 1.0 (iiop keyword ommitted).<br>
+ * corbaloc:iiop:1.1@gnu.xxx.yy/Prod/TradingService - the object exists on the
+ * host gnu.xxx.yy, port 801 having the key "Prod/TradingService". Its ORB
+ * supports iiop 1.1.<br>
+ * corbaloc:rir:/NameService - the default naming service.
*
* @param IOR the object IOR representation string.
*