in jm 2.2.2
org.jivesoftware.util.JiveGlobals
public static List getXMLProperties(String parent) {
if (xmlProperties == null) {
loadSetupProperties();
}
// jiveHome not loaded?
if (xmlProperties == null) {
return Collections.EMPTY_LIST;
}
String[] propNames = xmlProperties.getChildrenProperties(parent);
List();
for (int i = 0; i < propNames.length; i++) {
String propName = propNames[i];
String value = getProperty(parent + “.” + propName); // i think it shoud be: String value = getXMLProperty(parent + “.” + propName);
if (value != null) {
values.add(value);
}
}
return values;
}