author | dfuchs |
Tue, 20 Aug 2019 15:40:49 +0100 | |
changeset 57815 | 348f7933e2cc |
parent 55140 | d4890c3721be |
permissions | -rw-r--r-- |
55140 | 1 |
.\" Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved. |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
2 |
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
3 |
.\" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
4 |
.\" This code is free software; you can redistribute it and/or modify it |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
5 |
.\" under the terms of the GNU General Public License version 2 only, as |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
6 |
.\" published by the Free Software Foundation. |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
7 |
.\" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
8 |
.\" This code is distributed in the hope that it will be useful, but WITHOUT |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
9 |
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
10 |
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
11 |
.\" version 2 for more details (a copy is included in the LICENSE file that |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
12 |
.\" accompanied this code). |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
13 |
.\" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
14 |
.\" You should have received a copy of the GNU General Public License version |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
15 |
.\" 2 along with this work; if not, write to the Free Software Foundation, |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
16 |
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
17 |
.\" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
18 |
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
19 |
.\" or visit www.oracle.com if you need additional information or have any |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
20 |
.\" questions. |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
21 |
.\" |
55140 | 22 |
.\" Automatically generated by Pandoc 2.3.1 |
21743 | 23 |
.\" |
55140 | 24 |
.TH "RMIREGISTRY" "1" "2018" "JDK 13" "JDK Commands" |
25 |
.hy |
|
26 |
.SH NAME |
|
27 |
.PP |
|
28 |
rmiregistry \- create and start a remote object registry on the |
|
29 |
specified port on the current host |
|
30 |
.SH SYNOPSIS |
|
31 |
.PP |
|
32 |
\f[CB]rmiregistry\f[R] [\f[I]options\f[R]] [\f[I]port\f[R]] |
|
33 |
.TP |
|
34 |
.B \f[I]options\f[R] |
|
35 |
This represents the option for the \f[CB]rmiregistry\f[R] command. |
|
36 |
See \f[B]Options\f[R] |
|
37 |
.RS |
|
38 |
.RE |
|
39 |
.TP |
|
40 |
.B \f[I]port\f[R] |
|
41 |
The number of a port on the current host at which to start the remote |
|
42 |
object registry. |
|
43 |
.RS |
|
44 |
.RE |
|
45 |
.SH DESCRIPTION |
|
46 |
.PP |
|
47 |
The \f[CB]rmiregistry\f[R] command creates and starts a remote object |
|
48 |
registry on the specified port on the current host. |
|
49 |
If the port is omitted, then the registry is started on port 1099. |
|
50 |
The \f[CB]rmiregistry\f[R] command produces no output and is typically run |
|
51 |
in the background, for example: |
|
52 |
.RS |
|
53 |
.PP |
|
54 |
\f[CB]rmiregistry\ &\f[R] |
|
55 |
.RE |
|
21743 | 56 |
.PP |
55140 | 57 |
A remote object registry is a bootstrap naming service that\[aq]s used |
58 |
by RMI servers on the same host to bind remote objects to names. |
|
59 |
Clients on local and remote hosts can then look up remote objects and |
|
60 |
make remote method invocations. |
|
61 |
.PP |
|
62 |
The registry is typically used to locate the first remote object on |
|
63 |
which an application needs to call methods. |
|
64 |
That object then provides application\-specific support for finding |
|
65 |
other objects. |
|
66 |
.PP |
|
67 |
The methods of the \f[CB]java.rmi.registry.LocateRegistry\f[R] class are |
|
68 |
used to get a registry operating on the local host or local host and |
|
69 |
port. |
|
21743 | 70 |
.PP |
55140 | 71 |
The URL\-based methods of the \f[CB]java.rmi.Naming\f[R] class operate on |
72 |
a registry and can be used to: |
|
73 |
.IP \[bu] 2 |
|
74 |
Bind the specified name to a remote object |
|
75 |
.IP \[bu] 2 |
|
76 |
Return an array of the names bound in the registry |
|
77 |
.IP \[bu] 2 |
|
78 |
Return a reference, a stub, for the remote object associated with the |
|
79 |
specified name |
|
80 |
.IP \[bu] 2 |
|
81 |
Rebind the specified name to a new remote object |
|
82 |
.IP \[bu] 2 |
|
83 |
Destroy the binding for the specified name that\[aq]s associated with a |
|
84 |
remote object |
|
85 |
.SH OPTIONS |
|
21743 | 86 |
.TP |
55140 | 87 |
.B \f[CB]\-J\f[R]\f[I]option\f[R] |
88 |
Used with any Java option to pass the \f[I]option\f[R] following the |
|
89 |
\f[CB]\-J\f[R] (no spaces between the \f[CB]\-J\f[R] and the option) to the |
|
90 |
Java interpreter. |
|
91 |
.RS |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
21743
diff
changeset
|
92 |
.RE |