| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 RoleList 的软件包 | |
|---|---|
| javax.management.relation | 提供 Relation Service 的定义。 | 
| javax.management.relation 中 RoleList 的使用 | 
|---|
| 返回 RoleList 的 javax.management.relation 中的方法 | |
|---|---|
|  RoleList | RoleResult.getRoles()检索成功访问的角色列表。 | 
|  RoleList | Relation.retrieveAllRoles()返回关系中的所有角色,不检查读取模式。 | 
|  RoleList | RelationSupport.retrieveAllRoles()返回关系中的所有角色,不检查读取模式。 | 
| 参数类型为 RoleList 的 javax.management.relation 中的方法 | |
|---|---|
|  boolean | RoleList.addAll(int index,
       RoleList roleList)从指定位置开始,将指定 RoleList 中的所有元素插入此列表,这些元素按指定 RoleList 的迭代器返回的顺序排列。 | 
|  boolean | RoleList.addAll(RoleList roleList)将指定 RoleList 中的所有元素追加到列表末尾,这些元素按指定 RoleList 的迭代器返回的顺序排列。 | 
|  void | RelationService.createRelation(String relationId,
               String relationTypeName,
               RoleList roleList)创建给定关系类型的简单关系(由 RelationSupport 对象表示),并将其添加到 Relation Service 中。 | 
|  void | RelationServiceMBean.createRelation(String relationId,
               String relationTypeName,
               RoleList roleList)创建给定关系类型的简单关系(由 RelationSupport 对象表示),并将其添加到 Relation Service 中。 | 
|  RoleResult | Relation.setRoles(RoleList roleList)设置给定的角色。 | 
|  RoleResult | RelationSupport.setRoles(RoleList list)设置给定的角色。 | 
|  void | RoleResult.setRoles(RoleList list)设置成功访问的角色列表。 | 
|  RoleResult | RelationService.setRoles(String relationId,
         RoleList roleList)设置给定关系中的给定角色。 | 
|  RoleResult | RelationServiceMBean.setRoles(String relationId,
         RoleList roleList)以给定关系设置给定角色。 | 
| 参数类型为 RoleList 的 javax.management.relation 中的构造方法 | |
|---|---|
| RelationSupport(String relationId,
                ObjectName relationServiceName,
                MBeanServer relationServiceMBeanServer,
                String relationTypeName,
                RoleList list)创建一个 RelationSupport对象。 | |
| RelationSupport(String relationId,
                ObjectName relationServiceName,
                String relationTypeName,
                RoleList list)创建一个 RelationSupport对象。 | |
| RoleResult(RoleList list,
           RoleUnresolvedList unresolvedList)构造方法。 | |
| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。