xstream.registerConverter(ROLEMAPCONVERTER);
xstream.registerConverter(ROLECONVERTER);
xstream.registerConverter(DICTCONVERTER);
xstream.aliasType("roles", Map.class);
try {
Map<String, RoleImpl> fromXML = (Map<String, RoleImpl>) xstream.fromXML(input);
m_roles.putAll(fromXML);
}
catch (StreamException e) {
// no problem: this means that the remote repository is empty.
}