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