JavaTM 2 Platform
Standard Ed. 6

类 javax.management.relation.InvalidRoleValueException
的使用

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

javax.management.relationInvalidRoleValueException 的使用
 

抛出 InvalidRoleValueExceptionjavax.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 中。
 void Relation.handleMBeanUnregistration(ObjectName objectName, String roleName)
          在注销角色中引用的 MBean 时由 Relation Service 使用的回调。
 void RelationSupport.handleMBeanUnregistration(ObjectName objectName, String roleName)
          在注销角色中引用的 MBean 时由 Relation Service 使用的回调。
 void Relation.setRole(Role role)
          设置给定角色。
 void RelationSupport.setRole(Role role)
          设置给定的角色。
 void RelationService.setRole(String relationId, Role role)
          设置给定关系中的给定角色。
 void RelationServiceMBean.setRole(String relationId, Role role)
          以给定关系设置给定角色。
 

抛出 InvalidRoleValueExceptionjavax.management.relation 中的构造方法
RelationSupport(String relationId, ObjectName relationServiceName, MBeanServer relationServiceMBeanServer, String relationTypeName, RoleList list)
          创建一个 RelationSupport 对象。
RelationSupport(String relationId, ObjectName relationServiceName, String relationTypeName, RoleList list)
          创建一个 RelationSupport 对象。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only