* @see org.osgi.jmx.compendium.UserManagerMBean#getRole(java.lang.String)
*/
public CompositeData getRole(String name) throws IOException {
Role role = admin.getRole(name);
try {
return role == null ? null : new OSGiRole(role).asCompositeData();
} catch (OpenDataException e) {
throw new IOException("Unable to create open data: " + e);
}
}