1 '\" t
   2 .\" Copyright 2006 Sun Microsystems, Inc.  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 .TH rmiregistry 1 "2004 年 6 月 22 日"
  24 .SH "名前"
  25 rmiregistry \- Java リモートオブジェクトレジストリ
  26 .\" 
  27 .\"  This document was created by saving an HTML file as text
  28 .\"  from the JavaSoft web site:
  29 .\" 
  30 .\" http://java.sun.com/j2se/1.5/docs/tooldocs/tools.html
  31 .\" 
  32 .\"  and adding appropriate troff macros.  Because the JavaSoft web site 
  33 .\"  man pages can change without notice, it may be helpful to diff
  34 .\"  files to identify changes other than new functionality. 
  35 .\" 
  36 .SH "形式"
  37 .B rmiregistry 
  38 [
  39 .I port
  40 ]
  41 .SH "機能説明"
  42 .IX "Java remote object registry" "" "Java remote object registry \(em \fLrmiregistry\fP"
  43 .IX "rmiregistry" "" "\fLrmiregistry\fP \(em Java remote object registry"
  44 .B rmiregistry
  45 コマンドは、現在のホスト上の指定されたポートに、リモートオブジェクト
  46 レジストリを作成し起動します。
  47 ポート番号が省略された場合には、ポート
  48 1099
  49 が使用されます。
  50 .B rmiregistry
  51 はバックグラウンドで実行され、何も出力しません。
  52 以下に指定例を示します。
  53 .LP
  54 .RS
  55 .B example% rmiregistry &
  56 .RE
  57 .LP
  58 リモートオブジェクトレジストリはブートストラップネームサービスで、
  59 ホスト上の
  60 RMI
  61 サーバがリモートオブジェクトに名前をバインドするために使用します。
  62 名前がついたあとは、クライアント側でリモートオブジェクトを探して
  63 リモートメソッドを呼び出すことができます。
  64 .LP
  65 レジストリは通常、アプリケーションがメソッドを呼び出す必要がある
  66 最初のリモートオブジェクトを指定するために使用されます。
  67 そのあと、そのオブジェクトを使って、アプリケーション固有の
  68 方法で他のオブジェクトを探すことが可能になります。
  69 .LP
  70 .B java.rmi.registry.LocateRegistry
  71 クラスのメソッドは、特定のホストまたは特定のホストとポート上で
  72 動作しているレジストリを得るために用いられます。
  73 .LP
  74 .B java.rmi.Naming
  75 クラスの
  76 URL
  77 用のメソッドはレジストリを操作するもので、
  78 リモートオブジェクトの探索、リモートオブジェクトへの
  79 名前
  80 (文字列)
  81 のバインド、新たな名前のバインド
  82 (以前のバインドを上書き)、
  83 バインドの取り消し、およびレジストリ中でバインドされている
  84 URL
  85 の一覧表示が可能です。
  86 .SH "オプション"
  87 以下のオプションが使用できます。
  88 .TP 15
  89 .BI \-J option
  90 java オプションと組み合わせて使います
  91 (
  92 .B \-J
  93 と java オプションの間にスペースは必要ありません)。 
  94 .B \-J
  95 の後ろに続くオプションを java インタプリタに渡します。
  96 .SH "関連項目"
  97 次については、
  98 .BR java.sun.com 
  99 を参照または検索してください。
 100 .TP 5
 101 .B java.rmi.Naming @
 102 http://java.sun.com/j2se/1.5/docs/api/java/rmi/Naming.html
 103 .TP 5
 104 .B java.rmi.registry.LocateRegistry @
 105 http://java.sun.com/j2se/1.5/docs/api/java/rmi/registry/LocateRegistry.html
 106