类的用途
javax.management.relation.RoleNotFoundException
使用 RoleNotFoundException 的包
-
RoleNotFoundException 在 javax.management.relation 中的用法
修饰符和类型方法描述voidRelationService.addRelation(ObjectName relationObjectName) 添加一个由用户创建(并由他在 MBean 服务中注册)的 MBean 作为关系服务中的关系。voidRelationServiceMBean.addRelation(ObjectName relationObjectName) 添加一个由用户创建(并由他在 MBean 服务中注册)的 MBean 作为关系服务中的关系。voidRelationService.createRelation(String relationId, String relationTypeName, RoleList roleList) 创建给定关系类型的简单关系(由 RelationSupport 对象表示),并将其添加到关系服务中。voidRelationServiceMBean.createRelation(String relationId, String relationTypeName, RoleList roleList) 创建给定关系类型的简单关系(由 RelationSupport 对象表示),并将其添加到关系服务中。检索给定角色名称的角色值。检索给定关系中给定角色名称的角色值。检索给定关系中给定角色名称的角色值。检索给定角色名称的角色值。Relation.getRoleCardinality(String roleName) 返回给定角色中当前引用的 MBean 数。RelationService.getRoleCardinality(String relationId, String roleName) 检索当前在给定角色中引用的 MBean 数。RelationServiceMBean.getRoleCardinality(String relationId, String roleName) 检索当前在给定角色中引用的 MBean 数。RelationSupport.getRoleCardinality(String roleName) 返回给定角色中当前引用的 MBean 数。voidRelation.handleMBeanUnregistration(ObjectName objectName, String roleName) 当取消注册角色中引用的 MBean 时,关系服务使用的回调。voidRelationSupport.handleMBeanUnregistration(ObjectName objectName, String roleName) 当取消注册角色中引用的 MBean 时,关系服务使用的回调。void设置给定的角色。void在给定关系中设置给定角色。void在给定关系中设置给定角色。void设置给定的角色。