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

(ServiceSelector)this.manager.lookup(selectorKey)

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

Regards,

Joerg

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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to