import java.util.logging.Logger;
import javax.print.attribute.standard.Destination;
-import javax.xml.transform.dom.DOMSource;
import org.wamblee.concurrency.ReadLock;
import org.wamblee.concurrency.WriteLock;
@Override
@ReadLock
- public void delivered(String aDocumentType, Id<DOMSource> aEventId,
- DOMSource aEvent, List<Transformation> aSequence,
+ public void delivered(EventInfo aInfo, List<Transformation> aSequence,
Id<Destination> aDestination, String aDestinationName,
boolean aSuccessFlag) {
for (EventListener logger : loggers) {
try {
- logger.delivered(aDocumentType, aEventId, aEvent, aSequence,
- aDestination, aDestinationName, aSuccessFlag);
+ logger.delivered(aInfo, aSequence, aDestination,
+ aDestinationName, aSuccessFlag);
} catch (Exception e) {
LOGGER.log(Level.WARNING, "Logger threw exception", e);
}
@Override
@ReadLock
- public void notDelivered(String aDocumentType, Id<DOMSource> aEventId,
- DOMSource aEvent) {
+ public void notDelivered(EventInfo aInfo) {
for (EventListener logger : loggers) {
try {
- logger.notDelivered(aDocumentType, aEventId, aEvent);
+ logger.notDelivered(aInfo);
} catch (Exception e) {
LOGGER.log(Level.WARNING, "Logger threw exception", e);
}