List<ServerActionBean> actionBeans = new ArrayList<ServerActionBean>();
List<ServerActionBean> resultActionBeans = new ArrayList<ServerActionBean>();
JSONArray jsonNodes = new JSONArray();
NodeStatusServerAction nodeStatusServerAction = new NodeStatusServerAction();
Long timeoutSeconds = new Long(1);
for (Server server : servers) {
ServerActionBean nodeStatusServerActionBean =
nodeStatusServerAction.getNewServerAction(myServerId, server.getServerId(), timeoutSeconds);
nodeStatusServerActionBean =
APILocator.getServerActionAPI().saveServerActionBean(nodeStatusServerActionBean);
actionBeans.add(nodeStatusServerActionBean);