avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neeme Praks" <ne...@apache.org>
Subject RE: componentmanager and looking up different implementations of the same role
Date Thu, 27 Dec 2001 18:30:47 GMT

> -----Original Message-----
> From: Berin Loritsch [mailto:bloritsch@apache.org]
> Sent: Thursday, December 27, 2001 8:24 PM
> 
> ComponentSelector.  ComponentSelector was designed for this purpose.
> 
> Per the Developer's docs, if you use a selector, append the "Selector"
> designator to the role name:
> 
> ComponentSelector selector = (ComponentSelector) manager.lookup( 
> Resource.ROLE + "Selector" );
> Resource resource = selector.select( hint );
> 
> The hint can be any object (a Locale object if you wish, or any string).

This means that I need to write my own selector for that?

Neeme

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message