avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject RE: Map and Array Dependencies
Date Tue, 01 Oct 2002 12:59:07 GMT
Just one more thing, Peter...

I'm fine with the Array lookup.

But the Map lookup looks a lot like a ComponentSelector.

Is the difference that in both cases the component doing
the lookup is intended to perform operations on *all*
returned services, as opposed to just selecting one of them?

That is, while with selector you did:

 1. lookup selector.
 2. select *one* service.
 3. perform operation on service.

But with Map / Array lookup you'd:

 1. lookup Map / Array
 2. foreach Service service in Map/Array do service.method ()


> From: Peter Donald [mailto:peter@apache.org] 

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

View raw message