> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> > 
> > The contract is (or should explicitly be) this:
> > 
> > * Composable can return ComponentSelector or Component
> > * Serviceable can return ServiceSelector or service (as an Object)
> > 
> > No Serviceable should ever return a ComponentSelector,
> > and vice versa.
> > 
> Ok, I understand this - but what currently happens (in Cocoon) is,
> we have for many components a ComponentSelector.
> 
> Now, you have a Serviceable component, looking up the selector.
> And this is then a ComponentSelector and not a ServiceSelector. It's
> not automatically transformed.
> 
> I wanted to change from ComponentSelector to ServiceSelector, but
> failed, because I didn't found any usable implementation of a 
> ServiceSelector. Is there any?


:)

If memory serves me correctly, Peter D. backported my wrappers to
turn a ComponentSelector into a ServiceSelector and a
ComponentManager that into a ServiceManager.  The wrapper will
catch any instance of a ServiceSelector and automagically wrap it
with the other.

They should be in Framework 4.1.3--but need to double-check.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to