jdk/src/solaris/doc/sun/man/man1/ja/rmiregistry.1
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 2692 345bc8d65b19
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
'\" t
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
.\" Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
.\" This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
.\" under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
.\" published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
.\" This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
.\" version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
.\" accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
.\" You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
.\" 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
.\" Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
.\" CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
.\" have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
.\" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
.TH rmiregistry 1 "2004 年 6 月 22 日"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
.SH "名前"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
rmiregistry \- Java リモートオブジェクトレジストリ
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
.\" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
.\"  This document was created by saving an HTML file as text
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
.\"  from the JavaSoft web site:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
.\" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
.\" http://java.sun.com/j2se/1.5/docs/tooldocs/tools.html
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
.\" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
.\"  and adding appropriate troff macros.  Because the JavaSoft web site 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
.\"  man pages can change without notice, it may be helpful to diff
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
.\"  files to identify changes other than new functionality. 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
.\" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
.SH "形式"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
.B rmiregistry 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
[
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
.I port
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
.SH "機能説明"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
.IX "Java remote object registry" "" "Java remote object registry \(em \fLrmiregistry\fP"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
.IX "rmiregistry" "" "\fLrmiregistry\fP \(em Java remote object registry"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
.B rmiregistry
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
コマンドは、現在のホスト上の指定されたポートに、リモートオブジェクト
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
レジストリを作成し起動します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
ポート番号が省略された場合には、ポート
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
1099
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
が使用されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
.B rmiregistry
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
はバックグラウンドで実行され、何も出力しません。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
以下に指定例を示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
.B example% rmiregistry &
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
リモートオブジェクトレジストリはブートストラップネームサービスで、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
ホスト上の
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
RMI
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
サーバがリモートオブジェクトに名前をバインドするために使用します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
名前がついたあとは、クライアント側でリモートオブジェクトを探して
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
リモートメソッドを呼び出すことができます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
レジストリは通常、アプリケーションがメソッドを呼び出す必要がある
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
最初のリモートオブジェクトを指定するために使用されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
そのあと、そのオブジェクトを使って、アプリケーション固有の
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
方法で他のオブジェクトを探すことが可能になります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
.B java.rmi.registry.LocateRegistry
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
クラスのメソッドは、特定のホストまたは特定のホストとポート上で
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
動作しているレジストリを得るために用いられます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
.B java.rmi.Naming
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
クラスの
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
URL
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
用のメソッドはレジストリを操作するもので、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
リモートオブジェクトの探索、リモートオブジェクトへの
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
名前
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
(文字列)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
のバインド、新たな名前のバインド
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
(以前のバインドを上書き)、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
バインドの取り消し、およびレジストリ中でバインドされている
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
URL
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
の一覧表示が可能です。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
.SH "オプション"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
以下のオプションが使用できます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
.TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
.BI \-J option
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
java オプションと組み合わせて使います
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
(
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
.B \-J
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
と java オプションの間にスペースは必要ありません)。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
.B \-J
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
の後ろに続くオプションを java インタプリタに渡します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
.SH "関連項目"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
次については、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
.BR java.sun.com 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
を参照または検索してください。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
.TP 5
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
.B java.rmi.Naming @
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
http://java.sun.com/j2se/1.5/docs/api/java/rmi/Naming.html
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
.TP 5
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
.B java.rmi.registry.LocateRegistry @
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
http://java.sun.com/j2se/1.5/docs/api/java/rmi/registry/LocateRegistry.html
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106