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