jdk/src/share/classes/javax/management/remote/rmi/package.html
changeset 24368 2b4801b94265
parent 23010 6dadb192ad81
equal deleted inserted replaced
24367:705490680527 24368:2b4801b94265
     1 <html>
     1 <html>
     2 <head>
     2 <head>
     3     <title>RMI connector</title>
     3     <title>RMI connector</title>
     4 <!--
     4 <!--
     5 Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
     5 Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
     6 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     6 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     7 
     7 
     8 This code is free software; you can redistribute it and/or modify it
     8 This code is free software; you can redistribute it and/or modify it
     9 under the terms of the GNU General Public License version 2 only, as
     9 under the terms of the GNU General Public License version 2 only, as
    10 published by the Free Software Foundation.  Oracle designates this
    10 published by the Free Software Foundation.  Oracle designates this
   238       which means entry <code>myname</code> in the RMI registry
   238       which means entry <code>myname</code> in the RMI registry
   239       running on the default port of host <code>myhost</code>.  Note
   239       running on the default port of host <code>myhost</code>.  Note
   240       that the RMI registry only allows registration from the local
   240       that the RMI registry only allows registration from the local
   241       host.  So, in this case, <code>myhost</code> must be the name
   241       host.  So, in this case, <code>myhost</code> must be the name
   242       (or a name) of the host that the connector server is running
   242       (or a name) of the host that the connector server is running
   243       on.</p>
   243       on.
   244 
   244 
   245     <p>In this <code>JMXServiceURL</code>, the first <code>rmi:</code>
   245     <p>In this <code>JMXServiceURL</code>, the first <code>rmi:</code>
   246       specifies the RMI
   246       specifies the RMI
   247       connector, while the second <code>rmi:</code> specifies the RMI
   247       connector, while the second <code>rmi:</code> specifies the RMI
   248       registry.</p>
   248       registry.
   249 
   249 
   250     <p>As another example, if the <code>JMXServiceURL</code> is:
   250     <p>As another example, if the <code>JMXServiceURL</code> is:
   251 
   251 
   252       <pre>
   252       <pre>
   253       <code>service:jmx:iiop://ignoredhost/jndi/ldap://dirhost:9999/cn=this,ou=that</code>
   253       <code>service:jmx:iiop://ignoredhost/jndi/ldap://dirhost:9999/cn=this,ou=that</code>
   260       <pre>
   260       <pre>
   261       <code>ldap://dirhost:9999/cn=this,ou=that</code>
   261       <code>ldap://dirhost:9999/cn=this,ou=that</code>
   262       </pre>
   262       </pre>
   263 
   263 
   264       which means entry <code>cn=this,ou=that</code> in the LDAP
   264       which means entry <code>cn=this,ou=that</code> in the LDAP
   265       directory running on port 9999 of host <code>dirhost</code>.</p>
   265       directory running on port 9999 of host <code>dirhost</code>.
   266 
   266 
   267     <p>If the <code>JMXServiceURL</code> is:
   267     <p>If the <code>JMXServiceURL</code> is:
   268 
   268 
   269       <pre>
   269       <pre>
   270       <code>service:jmx:iiop://ignoredhost/jndi/cn=this,ou=that</code>
   270       <code>service:jmx:iiop://ignoredhost/jndi/cn=this,ou=that</code>
   278       <code>cn=this,ou=that</code>
   278       <code>cn=this,ou=that</code>
   279       </pre>
   279       </pre>
   280 
   280 
   281       For this case to work, the JNDI API must have been configured
   281       For this case to work, the JNDI API must have been configured
   282       appropriately to supply the information about what directory to
   282       appropriately to supply the information about what directory to
   283       use.</p>
   283       use.
   284 
   284 
   285     <p>In these examples, the host name <code>ignoredhost</code> is
   285     <p>In these examples, the host name <code>ignoredhost</code> is
   286       not used by the connector server or its clients.  It can be
   286       not used by the connector server or its clients.  It can be
   287       omitted, for example:</p>
   287       omitted, for example:</p>
   288 
   288