}
}
}
for (MessagePartInfo part : parts) {
if (part.getIndex() > 0) {
Holder holder = (Holder)outObjects.get(part);
outObjects.put(part, holder.value);
}
}
} else {
List<MessagePartInfo> parts = op.getOutput().getMessageParts();
List<Object> holders = new ArrayList<Object>(outObjects);
for (int x = 0; x < outObjects.size(); x++) {
Object o = outObjects.get(x);
if (!(o instanceof Holder)) {
holders.set(x, null);
}
}
message.put(HolderInInterceptor.CLIENT_HOLDERS, holders);
for (MessagePartInfo part : parts) {
if (part.getIndex() > 0) {
Holder holder = (Holder)outObjects.get(part.getIndex() - 1);
outObjects.set(part.getIndex() - 1, holder.value);
}
}
}