Searched refs:Role (Results 1 - 11 of 11) sorted by relevance
/openjdk7/jdk/test/javax/management/relation/ |
H A D | RelationTypeTest.java | 65 Role leftRole = 66 new Role("left", Arrays.asList(new ObjectName[] {timer1})); 67 Role rightRole = 68 new Role("right", Arrays.asList(new ObjectName[] {timer2})); 70 new RoleList(Arrays.asList(new Role[] {leftRole, rightRole}));
|
H A D | RelationNotificationSeqNoTest.java | 48 import javax.management.relation.Role; 83 Role leftRole = 84 new Role("left", Arrays.asList(new ObjectName[] {timer1})); 85 Role rightRole = 86 new Role("right", Arrays.asList(new ObjectName[] {timer2})); 88 new RoleList(Arrays.asList(new Role[] {leftRole, rightRole}));
|
H A D | NonArrayListTest.java | 63 Role leftRole = new Role("left", leftRoleValues); 64 Role rightRole = new Role("right", rightRoleValues); 71 new RoleList(new ArrayList(Arrays.asList(new Role[] {
|
/openjdk7/jdk/src/share/classes/javax/management/relation/ |
H A D | RoleList.java | 34 * A RoleList represents a list of roles (Role objects). It is used as 41 /* We cannot extend ArrayList<Role> because our legacy 42 add(Role) method would then override add(E) in ArrayList<E>, 44 Likewise for set(int,Role). Grrr. We cannot use covariance 46 Role, either, because that would break subclasses that 48 of Object). Finally, we cannot implement Iterable<Role> 50 for (Role r : roleList) 54 for (Role r : roleList.asList()) 97 * non-Role objects. 101 public RoleList(List<Role> lis [all...] |
H A D | RoleResult.java | 177 Role currRole = (Role)(roleIter.next()); 178 roleList.add((Role)(currRole.clone()));
|
H A D | Relation.java | 162 public void setRole(Role role)
|
H A D | RelationServiceMBean.java | 345 * Checks if given Role can be read in a relation of the given type. 366 * Checks if given Role can be set in a relation of given type. 386 public Integer checkRoleWriting(Role role, 436 Role newRole, 486 Role newRole, 732 Role role)
|
H A D | RelationSupport.java | 105 // Role map, mapping <role-name> -> <Role> 111 private final Map<String,Role> myRoleName2ValueMap = new HashMap<String,Role>(); 146 * @param list list of roles (Role objects) to initialize the 217 * @param list list of roles (Role objects) to initialize the 376 new RoleList(new ArrayList<Role>(myRoleName2ValueMap.values())); 407 Role role; 409 // No null Role is allowed, so direct use of get() 466 public void setRole(Role rol [all...] |
H A D | Role.java | 55 public class Role implements Serializable { class in inherits:Serializable 86 * @serialField name String Role name 115 * @serial Role name 129 * <p>Make a new Role object. 139 public Role(String roleName, method in class:Role 249 * @return a Role that is an independent copy of the current Role object. 254 return new Role(name, objectNameList); 288 * Deserializes a {@link Role} from an {@link ObjectInputStream}. 318 * Serializes a {@link Role} t [all...] |
H A D | RelationService.java | 911 * Checks if given Role can be read in a relation of the given type. 965 * Checks if given Role can be set in a relation of given type. 985 public Integer checkRoleWriting(Role role, 1102 Role newRole, 1125 String newRoleValString = Role.roleValueToString(newRoleVal); 1126 String oldRoleValString = Role.roleValueToString(oldValue); 1216 Role newRole, 2138 Role role) 2182 signature[0] = "javax.management.relation.Role"; 2191 new Attribute("Role", rol [all...] |
/openjdk7/jdk/test/javax/management/generified/ |
H A D | GenericTest.java | 122 Role role = new Role("rolename", namelist1); 125 check("new Role(String,List<ObjectName>).getRoleValue() -> " + 130 RoleList rl2 = new RoleList(Arrays.asList(new Role[] {role})); 131 check("new RoleList(List<Role>)", rl1.equals(rl2)); 133 List<Role> rl3 = checked(rl1.asList(), Role.class); 135 check("List<Role> RoleList.asList()", 277 Role dependent = new Role("dependen [all...] |
Completed in 63 milliseconds