|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.management.relation.Role
public class Role
ロール名、ObjectName で参照される MBean を含めて、ロールを表現します。アクセスを均一化するため、ロール値は常に ObjectName から成る ArrayList コレクションとして表現されます。
| コンストラクタの概要 | |
|---|---|
Role(String theRoleName,
List theRoleValue)
新しい Role オブジェクトを作成します。 |
|
| メソッドの概要 | |
|---|---|
Object |
clone()
ロールオブジェクトを複製します。 |
String |
getRoleName()
ロール名を取得します。 |
List |
getRoleValue()
ロール値を取得します。 |
static String |
roleValueToString(List theRoleValue)
指定されたロール値の文字列を返します。 |
void |
setRoleName(String theRoleName)
ロール名を設定します。 |
void |
setRoleValue(List theRoleValue)
ロール値を設定します。 |
String |
toString()
ロールについて説明する文字列を返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public Role(String theRoleName,
List theRoleValue)
throws IllegalArgumentException
新しい Role オブジェクトを作成します。ロール値に含まれる ObjectName が MBean サーバ内に存在するかどうかのチェックは行われません。このチェックは、ロールが関係内に設定されたとき行われます。
theRoleName - ロール名theRoleValue - ロール値 (ObjectName オブジェクトの List)
IllegalArgumentException - パラメータが null の場合| メソッドの詳細 |
|---|
public String getRoleName()
setRoleName(java.lang.String)public List getRoleValue()
setRoleValue(java.util.List)
public void setRoleName(String theRoleName)
throws IllegalArgumentException
theRoleName - ロール名
IllegalArgumentException - パラメータが null の場合getRoleName()
public void setRoleValue(List theRoleValue)
throws IllegalArgumentException
theRoleValue - 参照対象の MBean の ObjectName オブジェクトのリスト
IllegalArgumentException - パラメータが null の場合getRoleValue()public String toString()
Object 内の toStringpublic Object clone()
Object 内の cloneCloneable
public static String roleValueToString(List theRoleValue)
throws IllegalArgumentException
theRoleValue - ObjectName オブジェクトのリスト
IllegalArgumentException - パラメータが null の場合
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。