Notifier notifier = CoreServlet.getServlet().getNotifier();
synchronized(notifier) {
List messages = notifier.getMessages();
for(Iterator itr = messages.iterator(); itr.hasNext(); ) {
Notifier.MessageWrapper next = (Notifier.MessageWrapper)itr.next();
getModel().addItem(new MessageTableItem((next)));
}
List<MessageSink> messageSinks = CoreServlet.getServlet().getNotifier().getSinks();
List<MessageSinkItem> sinks = new ArrayList<MessageSinkItem>();
for(Iterator i = messageSinks.iterator(); i.hasNext(); ) {
MessageSink ms = (MessageSink)i.next();