blob: 19cc7df4d12a8182d30df1e76748e1ae949b7ab8 [file] [log] [blame]
tbell16c34dd2009-05-04 18:28:26 -07001." Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.
duke6e45e102007-12-01 00:00:00 +00002." 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."
ohair2283b9d2010-05-25 15:58:33 -070018." 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.
duke6e45e102007-12-01 00:00:00 +000021."
tbell16c34dd2009-05-04 18:28:26 -070022.TH rmiregistry 1 "04 May 2009"
23." Generated from HTML by html2man (author: Eric Armstrong)
duke6e45e102007-12-01 00:00:00 +000024
25.LP
tbell16c34dd2009-05-04 18:28:26 -070026.SH "Name"
duke6e45e102007-12-01 00:00:00 +000027rmiregistry \- The Java Remote Object Registry
28.LP
tbell16c34dd2009-05-04 18:28:26 -070029.RS 3
duke6e45e102007-12-01 00:00:00 +000030
31.LP
32.LP
33The \f3rmiregistry\fP command starts a remote object registry on the specified port on the current host.
34.LP
tbell16c34dd2009-05-04 18:28:26 -070035.RE
duke6e45e102007-12-01 00:00:00 +000036.SH "SYNOPSIS"
37.LP
38
39.LP
40.nf
41\f3
42.fl
43rmiregistry [\fP\f4port\fP\f3]
44.fl
45\fP
46.fi
47
48.LP
49.SH "DESCRIPTION"
50.LP
51
52.LP
53.LP
54The \f3rmiregistry\fP command creates and starts a remote object registry on the specified \f2port\fP on the current host. If \f2port\fP is omitted, the registry is started on port 1099. The \f3rmiregistry\fP command produces no output and is typically run in the background. For example:
55.LP
56.LP
57\f2rmiregistry &\fP
58.LP
59.LP
60A remote object registry is a bootstrap naming service that is used by RMI servers on the same host to bind remote objects to names. Clients on local and remote hosts can then look up remote objects and make remote method invocations.
61.LP
62.LP
63The registry is typically used to locate the first remote object on which an application needs to invoke methods. That object in turn will provide application\-specific support for finding other objects.
64.LP
65.LP
66The methods of the \f2java.rmi.registry.LocateRegistry\fP class are used to get a registry operating on the local host or local host and port.
67.LP
68.LP
69The URL\-based methods of the \f2java.rmi.Naming\fP class operate on a registry and can be used to look up a remote object on any host, and on the local host: bind a simple (string) name to a remote object, rebind a new name to a remote object (overriding the old binding), unbind a remote object, and list the URLs bound in the registry.
70.LP
71.SH "OPTIONS"
72.LP
73
74.LP
tbell16c34dd2009-05-04 18:28:26 -070075.RS 3
duke6e45e102007-12-01 00:00:00 +000076.TP 3
77\-J
78Used in conjunction with any \f2java\fP option, it passes the option following the \f2\-J\fP (no spaces between the \-J and the option) on to the \f2java\fP interpreter.
tbell16c34dd2009-05-04 18:28:26 -070079.RE
80
duke6e45e102007-12-01 00:00:00 +000081.LP
82.SH "SEE ALSO"
83.LP
84
85.LP
86.LP
tbell16c34dd2009-05-04 18:28:26 -070087java(1),
duke6e45e102007-12-01 00:00:00 +000088.na
89\f2java.rmi.registry.LocateRegistry\fP @
90.fi
tbell16c34dd2009-05-04 18:28:26 -070091http://java.sun.com/javase/6/docs/api/java/rmi/registry/LocateRegistry.html and
duke6e45e102007-12-01 00:00:00 +000092.na
93\f2java.rmi.Naming\fP @
94.fi
tbell16c34dd2009-05-04 18:28:26 -070095http://java.sun.com/javase/6/docs/api/java/rmi/Naming.html
duke6e45e102007-12-01 00:00:00 +000096.LP
97
98.LP
99