< prev index next >

src/java.corba/share/classes/com/sun/jndi/toolkit/corba/CorbaUtils.java

Print this page

        

@@ -54,11 +54,11 @@
     /**
       * Returns the CORBA object reference associated with a Remote
       * object by using the javax.rmi.CORBA package.
       *<p>
       * This method effective does the following:
-      *<blockquote><pre>
+      * <blockquote><pre>
       * java.lang.Object stub;
       * try {
       *     stub = PortableRemoteObject.toStub(remoteObj);
       * } catch (Exception e) {
       *     throw new ConfigurationException("Object not exported or not found");

@@ -70,10 +70,11 @@
       *     ((javax.rmi.CORBA.Stub)stub).connect(orb);  // try to connect IIOP stub
       * } catch (RemoteException e) {
       *     // ignore 'already connected' error
       * }
       * return (javax.rmi.CORBA.Stub)stub;
+      * </pre></blockquote>
       *
       * @param remoteObj The non-null remote object for
       * @param orb       The non-null ORB to connect the remote object to
       * @return The CORBA Object for remoteObj; null if <tt>remoteObj</tt>
       *                 is a JRMP implementation or JRMP stub.
< prev index next >