List resNodes = rm.safeGetResourceNodes();
if (resNodes != null && resNodes.size() > 0) {
for (Iterator i = resNodes.iterator(); i.hasNext();) {
ResourceNode node = (ResourceNode) i.next();
PCSDaemonStatus batchStatus = new PCSDaemonStatus();
batchStatus.setDaemonName(BATCH_STUB_DAEMON_NAME);
batchStatus.setUrlStr(node.getIpAddr().toString());
batchStatus.setStatus(printUp(getBatchStubUp(node)));
batchStubStatus.add(batchStatus);
}
}
}