jdk

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

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.