Lines Matching defs:role

53      * Retrieves role value for given role name.
54 * <P>Checks if the role exists and is readable according to the relation
57 * @param roleName name of role
59 * @return the ArrayList of ObjectName objects being the role value
61 * @exception IllegalArgumentException if null role name
63 * <P>- there is no role with given name
64 * <P>- the role is not readable.
77 * <P>Checks for each role if it exists and is readable according to the
86 * @exception IllegalArgumentException if null role name
97 * Returns the number of MBeans currently referenced in the given role.
99 * @param roleName name of role
101 * @return the number of currently referenced MBeans in that role
103 * @exception IllegalArgumentException if null role name
104 * @exception RoleNotFoundException if there is no role with given name
131 * Sets the given role.
132 * <P>Will check the role according to its corresponding role definition
138 * @param role role to be set (name and new value)
140 * @exception IllegalArgumentException if null role
141 * @exception RoleNotFoundException if there is no role with the supplied
142 * role's name or if the role is not writable (no test on the write access
143 * mode performed when initializing the role)
145 * role is not valid, i.e.:
151 * class expected for that role
152 * <P>- a MBean provided for that role does not exist.
162 public void setRole(Role role)
172 * <P>Will check the role according to its corresponding role definition
176 * relation is a MBean or not) per updated role.
184 * @exception IllegalArgumentException if null role list
201 * Callback used by the Relation Service when a MBean referenced in a role
206 * <P>Current implementation is to set the role with its current value
211 * @param roleName name of role where the MBean is referenced
214 * @exception RoleNotFoundException if role does not exist in the
216 * @exception InvalidRoleValueException if role value does not conform to
217 * the associated role info (this will never happen when called from the
239 * <P> ObjectName -> ArrayList of String (role names)