return false;
}
boolean requiresRestart = cache.isInstanceRestartNeeded();
Iterator iter = eventList.iterator();
while (iter.hasNext()) {
AdminEvent event = (AdminEvent)iter.next();
if (sLogger.isLoggable(Level.FINEST)) {
sLogger.log(Level.FINEST, "mbean.event_sent",
event.getEventInfo());
} else {
sLogger.log(Level.INFO, "mbean.send_event", event.toString());
}
AdminEventResult result = AdminEventMulticaster.multicastEvent(event);
sLogger.log(Level.FINE, "mbean.event_res", result.getResultCode());
sLogger.log(Level.FINEST, "mbean.event_reply",
result.getAllMessagesAsString());
if (!AdminEventResult.SUCCESS.equals(result.getResultCode()))
{
requiresRestart = true;
cache.setRestartNeeded(true);
// DEBUGing - Mahesh
sLogger.log(Level.INFO, "applyChanges: AdminEventMulticaster.multiCastEvent indicates serverRestart=true , resultCode=" + result.getResultCode(), event.toString());
sLogger.log(Level.WARNING, "mbean.notif_failed");
}
}
return requiresRestart;
}