// We need to re-create the callback wire. We need to do this on a clone of the Service
// wire since we need to change some details on it.
// FIXME: Is this the best way to do this?
final RuntimeWire cbWire = ((RuntimeComponentService) targetService).getRuntimeWires().get(0);
try {
this.wire = (RuntimeWireImpl) cbWire.clone();
} catch (CloneNotSupportedException e) {
throw new IOException(e.toString());
}
// TODO - EPR - This doesn't sound right to me.