Thread.currentThread().setContextClassLoader(contextClassLoader);
synchronized (dispatchers) {
for (Iterator iter = dispatchers.entrySet().iterator(); iter.hasNext();) {
Map.Entry entry = (Map.Entry) iter.next();
HermesDispatcher dispatcher = (HermesDispatcher) entry.getValue();
dispatcher.invokeAndWait(runnable);
}
}
}