First version after introduction of meaningful ids and Identifiable interface.
[xmlrouter] / listener / src / main / java / org / wamblee / xmlrouter / listener / EventListener.java
index ee03b7b007d0e8f10a33bfbe41f3d66c07d4ef2e..a2e289a726c064f24869f8840fea19f8efa880f8 100644 (file)
@@ -17,9 +17,6 @@ package org.wamblee.xmlrouter.listener;
 
 import java.util.List;
 
-import javax.print.attribute.standard.Destination;
-
-import org.wamblee.xmlrouter.common.Id;
 import org.wamblee.xmlrouter.config.Transformation;
 
 /**
@@ -37,16 +34,13 @@ public interface EventListener {
      *            Event information.
      * @param aSequence
      *            Sequence of transformations performed.
-     * @param aDestination
+     * @param aDestinationId
      *            Id of the destination the event was delivered to.
-     * @param aDestinationName
-     *            Destination name.
      * @param aSuccessFlag
      *            Whether or not event delivery succeeded.
      */
     void delivered(EventInfo aInfo, List<Transformation> aSequence,
-        Id<Destination> aDestination, String aDestinationName,
-        boolean aSuccessFlag);
+        String aDestinationId, boolean aSuccessFlag);
 
     /**
      * Called when an event could not be delivered to any destination.