*/
public void publish(ServiceMap map)
{
String methodName = "publish";
try {
SmStateDuccEvent ev = new SmStateDuccEvent();
logger.info(methodName, null, "Publishing State, active job count =", map.size());
if (logger.isDebug()) {
logger.debug(methodName, null, map.toPrint());
}
ev.setServiceMap(map);
eventDispatcher.dispatch(stateEndpoint, ev, ""); // tell the world what is scheduled (note empty string)
} catch (Throwable t) {
logger.error(methodName, null, t);
}
}