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