java命名空间javax.management.remote.rmi类rmiconnectionimpl的类成员方法:
getattributes定义及介绍
本文导语:
getattributes
public attributelist getattributes(objectname name,
string[] attributes,
subject delegationsubject)
throws instancenotfoundexception,
reflectionexce...
getattributes
public attributelist getattributes(objectname name,
string[] attributes,
subject delegationsubject)
throws instancenotfoundexception,
reflectionexception,
ioexception
- 从接口
rmiconnection 复制的描述
- 处理
mbeanserverconnection.getattributes(objectname, string[]) 方法。
- 指定者:
- 接口
rmiconnection 中的 getattributes
- 参数:
name - 从其检索属性的 mbean 的对象名。java management API(jmAPI) 是什么?
iis7站长之家 - 要检索的属性的列表。delegationsubject - 包含委托 principal 的 subject,如果使用了验证 principal,则为 null。
- 返回:
- 所检索的属性的列表。
- 抛出:
instancenotfoundexception - 指定的 mbean 未在 mbean 服务器中注册。
reflectionexception - 尝试调用 dynamic mbean 的 getattributes 方法时出现的异常。
ioexception - 如果出现通用通信异常。- 另请参见:
rmiconnection.setattributes(javax.management.objectname, java.rmi.marshalledobject, javax.security.auth.subject)