cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: How to use the ServiceSelector?
Date Sun, 09 Nov 2003 22:58:37 GMT
If you get the Selector from a ServiceManager you always get a 
ServiceSelector. If the real type of this Selector is a 
ComponentSelector as the ExcaliburCS, you get a WrappedServiceSelector. 
But this happens transparent to you, you simply do


If the Selector is later on re-implemented to a real ServiceSelector, 
you code will still work.



On 09.11.2003 09:40, Stephan Coboos wrote:

> Hello,
> in the file cocoon.roles I can see that many components which needs a
> selector using the ExcaliburComponentSelector. But this selector is
> deprecated, isn't it? So I want to use the ServiceSelector for my
> components. Is there a default implementation of this selector avaiable or
> any examples how to use it?
> PS: In the cocoon docs I had seen only a note that the ServiceSelector
> should be used instead of the ComponentSelector, nothing more.
> Thank you.
> Stephan

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message