java命名空间javax.management.remote.rmi类rmiconnectionimpl_stub的类成员方法:
getattribute定义及介绍
本文导语:
getattribute
public object getattribute(objectname $param_objectname_1,
string $param_string_2,
subject $param_subject_3)
throws ioexception,
attributenotfoundexception,
...
public object getattribute(objectname $param_objectname_1,
string $param_string_2,
subject $param_subject_3)
throws ioexception,
attributenotfoundexception,
instancenotfoundexception,
mbeanexception,
reflectionexception
- 从接口
rmiconnection 复制的描述
- 处理
mbeanserverconnection.getattribute(objectname, string) 方法。
- 指定者:
- 接口
rmiconnection 中的 getattribute
- 参数:
$param_objectname_1 - 将要从其检索属性的 mbean 的对象名。$param_string_2 - 指定要检索的属性名称的字符串。$param_subject_3 - 包含委托 principal 的 subject,如果使用了验证 principal,则为 null。
- 返回:
- 检索到的属性的值。
- 抛出:
ioexception - 如果出现通用通信异常。
attributenotfoundexception - 指定的属性在 mbean 中无法访问。
instancenotfoundexception - 指定的 mbean 未在 mbean 服务器中
iis7站长之家。
mbeanexception - 包装了由 mbean 的获取方法抛出的异常。
reflectionexception - 包装了尝试调用获取方法时抛出的 java.lang.exception。- 另请参见:
rmiconnection.setattribute(javax.management.objectname, java.rmi.marshalledobject, javax.security.auth.subject)