if (session.getAttribute("eventValue").toString()
.equals(event.getValue())) {
return;
}
session.setAttribute("eventValue", event.getValue());
session.publishEvent(new ContentEvent(event
.getType(), event.getValue()));
}
});
terminateLatch = new CountDownLatch(1);