import java.util.logging.Level;
import java.util.logging.Logger;
-import javax.print.attribute.standard.Destination;
-
-import org.wamblee.xmlrouter.common.Id;
import org.wamblee.xmlrouter.config.Transformation;
/**
@Override
public void delivered(EventInfo aEvent, List<Transformation> aSequence,
- Id<Destination> aDestination, String aDestinationName,
- boolean aSuccessFlag) {
+ String aDestinationId, boolean aSuccessFlag) {
if (LOGGER.isLoggable(level)) {
LOGGER.log(level, "event delivered: " + aEvent + ", sequence '" +
- getSequenceString(aSequence) + "', destionationId " +
- aDestination + ", destinationName '" + aDestinationName + "'");
+ getSequenceString(aSequence) + "', destinationId " +
+ aDestinationId + "'");
}
}
private String getSequenceString(List<Transformation> aSequence) {
StringBuffer buf = new StringBuffer();
- for (Transformation transformation : aSequence) {
- buf.append(transformation.getName());
+ for (int i = 0; i < aSequence.size(); i++) {
+ if (i > 0) {
+ buf.append(", ");
+ }
+ Transformation transformation = aSequence.get(i);
+ buf.append(transformation.getId());
buf.append("(");
buf.append(transformation.getFromType());
buf.append("->");