+ public void publish(String aSource, DOMSource aEvent) {
+
+ long time = clock.currentTimeMillis();
+ Id<DOMSource> id = new Id<DOMSource>(nextEventId.getAndIncrement());
+ List<String> types = determineDocumentTypes(aEvent);
+ EventInfo info = new EventInfo(time, aSource, id, types, aEvent);