Luciano,

I think your code is pretty much equivalent to my suggestion of simply doing:

public InterfaceContract getBindingInterfaceContract() {
  return service.getService().getInterfaceContract();
}

at least for the cases which we'd expect to work anyway.

In both cases, for a component impl with <interface.java>
componentType we will return the componentType IC from
getBindingInterfaceContract(), and this is what prevents the DTI from
getting set up which we don't want since we do the mediate ourselves.

I guess I like the consistency (with, say, binding.jms) and simplicity
of my approach but this just confirms my point that this should
process of setting up the DTI should be more obvious to binding
authors.  That said, I know I've been unable to find the time to come
up with something better in all this time, so can't complain.

Scott

Reply via email to