return result;
}
}
private Set<String> getCoreQueueNames() {
final ManagementService managementService = getManagementService();
if (managementService == null) {
return Collections.emptySet();
} else {
Set<String> result = new HashSet<String>();
for (Object obj : managementService.getResources(QueueControl.class)) {
QueueControl qc = QueueControl.class.cast(obj);
result.add(qc.getName());
}
return result;
}