JavaTM Platform
Standard Ed. 6

类 javax.management.relation.InvalidRelationIdException
的使用

使用 InvalidRelationIdException 的软件包
javax.management.relation 提供 Relation Service 的定义。 
 

javax.management.relationInvalidRelationIdException 的使用
 

抛出 InvalidRelationIdExceptionjavax.management.relation 中的方法
 void RelationService.addRelation(ObjectName relationObjectName)
          作为 Relation Service 中的关系添加由用户创建(且由其在 MBean Server 中注册)的 MBean。
 void RelationServiceMBean.addRelation(ObjectName relationObjectName)
          作为 Relation Service 中的关系添加由用户创建(且由其在 MBean Server 中注册)的 MBean。
 void RelationService.createRelation(String relationId, String relationTypeName, RoleList roleList)
          创建给定关系类型的简单关系(由 RelationSupport 对象表示),并将其添加到 Relation Service 中。
 void RelationServiceMBean.createRelation(String relationId, String relationTypeName, RoleList roleList)
          创建给定关系类型的简单关系(由 RelationSupport 对象表示),并将其添加到 Relation Service 中。
 


JavaTM Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策