1 '\" t 2 .\" Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. 3 .\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 .\" 5 .\" This code is free software; you can redistribute it and/or modify it 6 .\" under the terms of the GNU General Public License version 2 only, as 7 .\" published by the Free Software Foundation. 8 .\" 9 .\" This code is distributed in the hope that it will be useful, but WITHOUT 10 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 .\" version 2 for more details (a copy is included in the LICENSE file that 13 .\" accompanied this code). 14 .\" 15 .\" You should have received a copy of the GNU General Public License version 16 .\" 2 along with this work; if not, write to the Free Software Foundation, 17 .\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 .\" 19 .\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 .\" or visit www.oracle.com if you need additional information or have any 21 .\" questions. 22 .\" 23 .\" Title: rmiregistry 24 .\" Language: Japanese 25 .\" Date: 2013年11月21日 26 .\" SectDesc: Remote Method Invocation (RMI)ツール 27 .\" Software: JDK 8 28 .\" Arch: 汎用 29 .\" Part Number: E58103-01 30 .\" Doc ID: JSSON 31 .\" 32 .if n .pl 99999 33 .TH "rmiregistry" "1" "2013年11月21日" "JDK 8" "Remote Method Invocation (RMI)" 34 .\" ----------------------------------------------------------------- 35 .\" * Define some portability stuff 36 .\" ----------------------------------------------------------------- 37 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 .\" http://bugs.debian.org/507673 39 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html 40 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 41 .ie \n(.g .ds Aq \(aq 42 .el .ds Aq ' 43 .\" ----------------------------------------------------------------- 44 .\" * set default formatting 45 .\" ----------------------------------------------------------------- 46 .\" disable hyphenation 47 .nh 48 .\" disable justification (adjust text to left margin only) 49 .ad l 50 .\" ----------------------------------------------------------------- 51 .\" * MAIN CONTENT STARTS HERE * 52 .\" ----------------------------------------------------------------- 53 .SH "名前" 54 rmiregistry \- 現在のホストの指定したポート上にリモート・オブジェクト・レジストリを開始します。 55 .SH "概要" 56 .sp 57 .if n \{\ 58 .RS 4 59 .\} 60 .nf 61 \fBrmiregistry\fR [ \fIport\fR ] 62 .fi 63 .if n \{\ 64 .RE 65 .\} 66 .PP 67 \fIport\fR 68 .RS 4 69 リモート・オブジェクト・レジストリを開始する現在のホスト上の\fBport\fRの数。 70 .RE 71 .SH "説明" 72 .PP 73 \fBrmiregistry\fRコマンドは、現在のホストの指定したポート上にリモート・オブジェクト・レジストリを作成し、開始します。portの指定を省略した場合、レジストリはポート1099で開始します。\fBrmiregistry\fRコマンドに、出力機能はありません。通常、これはバックグラウンドで実行されます。次に例を示します。 74 .sp 75 .if n \{\ 76 .RS 4 77 .\} 78 .nf 79 \fBrmiregistry &\fR 80 81 .fi 82 .if n \{\ 83 .RE 84 .\} 85 .PP 86 リモート・オブジェクト・レジストリは、ブートストラップのネーム・サービスです。同一ホストのRMIサーバーが、リモート・オブジェクトを名前にバインドするために使用されます。次に、ローカルおよびリモート・ホストのクライアントはリモート・オブジェクトを検索し、リモート・メソッドの呼出しを行います。 87 .PP 88 レジストリは、一般的に、最初のリモート・オブジェクトの位置を指定します。そこで、アプリケーションはメソッドを呼び出す必要があります。その後、そのオブジェクトはアプリケーション指定のサポートを提供し、他のオブジェクトを探します。 89 .PP 90 \fBjava\&.rmi\&.registry\&.LocateRegistry\fRクラスのメソッドは、ローカル・ホスト、またはローカル・ホストとポートで動作するレジストリを取得するために使用されます。 91 .PP 92 \fBjava\&.rmi\&.Naming\fRクラスのURLベース・メソッドはレジストリに対して操作を実行し、任意のホストおよびローカル・ホストでのリモート・オブジェクトの検索に使用できます。単純名(文字列)をリモート・オブジェクトにバインドし、新しい名前をリモート・オブジェクトに再バインドし(古いバインドをオーバーライド)、リモート・オブジェクトをアンバインドし、レジストリにバインドされているURLをリスト表示します。 93 .SH "オプション" 94 .PP 95 \-J 96 .RS 4 97 Javaオプションとともに使用して、\fB\-J\fRの後ろに続くオプションをJavaインタプリタに引き渡します(\fB\-J\fRとオプションの間にスペースは入れません)。 98 .RE 99 .SH "関連項目" 100 .sp 101 .RS 4 102 .ie n \{\ 103 \h'-04'\(bu\h'+03'\c 104 .\} 105 .el \{\ 106 .sp -1 107 .IP \(bu 2.3 108 .\} 109 java(1) 110 .RE 111 .sp 112 .RS 4 113 .ie n \{\ 114 \h'-04'\(bu\h'+03'\c 115 .\} 116 .el \{\ 117 .sp -1 118 .IP \(bu 2.3 119 .\} 120 \fB「java\&.rmi\&.registry\&.LocateRegistry」\fR(http://docs\&.oracle\&.com/javase/8/docs/api/java/rmi/registry/LocateRegistry\&.html) 121 .RE 122 .sp 123 .RS 4 124 .ie n \{\ 125 \h'-04'\(bu\h'+03'\c 126 .\} 127 .el \{\ 128 .sp -1 129 .IP \(bu 2.3 130 .\} 131 \fB「java\&.rmi\&.Naming class description」\fR(http://docs\&.oracle\&.com/javase/8/docs/api/java/rmi/Naming\&.html) 132 .RE 133 .br 134 'pl 8.5i 135 'bp