4176N/A." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A."
0N/A." This code is free software; you can redistribute it and/or modify it
0N/A." under the terms of the GNU General Public License version 2 only, as
0N/A." published by the Free Software Foundation.
0N/A."
0N/A." This code is distributed in the hope that it will be useful, but WITHOUT
0N/A." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A." version 2 for more details (a copy is included in the LICENSE file that
0N/A." accompanied this code).
0N/A."
0N/A." You should have received a copy of the GNU General Public License version
0N/A." 2 along with this work; if not, write to the Free Software Foundation,
0N/A." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A."
2362N/A." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A." or visit www.oracle.com if you need additional information or have any
2362N/A." questions.
0N/A."
4880N/A.TH rmiregistry 1 "16 Mar 2012"
0N/A
0N/A.LP
1178N/A.SH "Name"
0N/Armiregistry \- The Java Remote Object Registry
0N/A.LP
1178N/A.RS 3
4176N/AThe \f3rmiregistry\fP command starts a remote object registry on the specified port on the current host.
4176N/A.RE
0N/A
0N/A.LP
0N/A.SH "SYNOPSIS"
0N/A.LP
0N/A.nf
0N/A\f3
0N/A.fl
0N/Armiregistry [\fP\f4port\fP\f3]
0N/A.fl
0N/A\fP
0N/A.fi
0N/A
0N/A.LP
0N/A.SH "DESCRIPTION"
0N/A.LP
0N/A.LP
0N/AThe \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:
0N/A.LP
0N/A.LP
0N/A\f2rmiregistry &\fP
0N/A.LP
0N/A.LP
0N/AA 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.
0N/A.LP
0N/A.LP
0N/AThe 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.
0N/A.LP
0N/A.LP
0N/AThe 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.
0N/A.LP
0N/A.LP
0N/AThe 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.
0N/A.LP
0N/A.SH "OPTIONS"
0N/A.LP
1178N/A.RS 3
0N/A.TP 3
0N/A\-J
0N/AUsed 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.
1178N/A.RE
1178N/A
0N/A.LP
0N/A.SH "SEE ALSO"
0N/A.LP
1178N/Ajava(1),
0N/A.na
0N/A\f2java.rmi.registry.LocateRegistry\fP @
0N/A.fi
4880N/Ahttp://docs.oracle.com/javase/7/docs/api/java/rmi/registry/LocateRegistry.html and
0N/A.na
0N/A\f2java.rmi.Naming\fP @
0N/A.fi
4880N/Ahttp://docs.oracle.com/javase/7/docs/api/java/rmi/Naming.html