annotate src/linux/doc/man/rmiregistry.1 @ 10552:2b0c2fc213d6

update combo-tests aurora target to reduce heap size per Sonali Goel
author mduigou
date Fri, 27 Dec 2013 09:51:31 -0800
parents d58354a69011
rev   line source
bpatel@4186 1 ." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
duke@0 3 ."
duke@0 4 ." This code is free software; you can redistribute it and/or modify it
duke@0 5 ." under the terms of the GNU General Public License version 2 only, as
duke@0 6 ." published by the Free Software Foundation.
duke@0 7 ."
duke@0 8 ." This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 9 ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 10 ." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 11 ." version 2 for more details (a copy is included in the LICENSE file that
duke@0 12 ." accompanied this code).
duke@0 13 ."
duke@0 14 ." You should have received a copy of the GNU General Public License version
duke@0 15 ." 2 along with this work; if not, write to the Free Software Foundation,
duke@0 16 ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 17 ."
ohair@2362 18 ." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@2362 19 ." or visit if you need additional information or have any
ohair@2362 20 ." questions.
duke@0 21 ."
bpatel@4186 22 .TH rmiregistry 1 "10 May 2011"
duke@0 23
duke@0 24 .LP
tbell@1178 25 .SH "Name"
duke@0 26 rmiregistry \- The Java Remote Object Registry
duke@0 27 .LP
tbell@1178 28 .RS 3
bpatel@4186 29 The \f3rmiregistry\fP command starts a remote object registry on the specified port on the current host.
bpatel@4186 30 .RE
duke@0 31
duke@0 32 .LP
duke@0 33 .SH "SYNOPSIS"
duke@0 34 .LP
duke@0 35 .nf
duke@0 36 \f3
duke@0 37 .fl
duke@0 38 rmiregistry [\fP\f4port\fP\f3]
duke@0 39 .fl
duke@0 40 \fP
duke@0 41 .fi
duke@0 42
duke@0 43 .LP
duke@0 44 .SH "DESCRIPTION"
duke@0 45 .LP
duke@0 46 .LP
duke@0 47 The \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:
duke@0 48 .LP
duke@0 49 .LP
duke@0 50 \f2rmiregistry &\fP
duke@0 51 .LP
duke@0 52 .LP
duke@0 53 A 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.
duke@0 54 .LP
duke@0 55 .LP
duke@0 56 The 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.
duke@0 57 .LP
duke@0 58 .LP
duke@0 59 The 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.
duke@0 60 .LP
duke@0 61 .LP
duke@0 62 The 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.
duke@0 63 .LP
duke@0 64 .SH "OPTIONS"
duke@0 65 .LP
tbell@1178 66 .RS 3
duke@0 67 .TP 3
duke@0 68 \-J
duke@0 69 Used 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.
tbell@1178 70 .RE
tbell@1178 71
duke@0 72 .LP
duke@0 73 .SH "SEE ALSO"
duke@0 74 .LP
tbell@1178 75 java(1),
duke@0 76 .na
duke@0 77 \f2java.rmi.registry.LocateRegistry\fP @
duke@0 78 .fi
bpatel@4186 79 and
duke@0 80 .na
duke@0 81 \f2java.rmi.Naming\fP @
duke@0 82 .fi
bpatel@4186 83