Niclas Hedhman wrote: > > On Monday 02 August 2004 20:35, Carsten Ziegeler wrote: > > Any chance to also add the proposed lookup mechanism using > a Class and > > a key instead of just a String as ServiceManager currently does? > > Open for debate, but I doubt it would qualify as a compatible > change, since container implementations would NOT compile against it. > > That leaves two choices; > 1. AF5.0 > 2. Another interface including the method(s), subing > ServiceManager or not. > > 2. is also borderline compatible change, on the same basis as > the constructor injection was considered not to be compatible. > > I suggest that you raise the proposal once more on dev@, and > we'll take a good shot at it, and see if something reasonable > can be worked out. > Ok, I will do that. I think this is an additional interface, so containers that support 4.5 have to support this interface as well. (In this case, I think a default implementation is a five-liner).
I see no problem in adding an additional feature, this gives the possibility of a smooth migration path (Add in 4.5, deprecate old in 5.0, remove in 6.0). Anyways, I will address this in a separate thread in the next days. Thanks! Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]