avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Service and other Terminology
Date Sat, 31 Aug 2002 22:16:18 GMT
On Sun, 1 Sep 2002 02:04, Stephen McConnell wrote:
> >   <provides>
> >     <role>
> >       <key>conn-manager</key>
> >       <interface>org.apache.avalon.ConnManager</interface>
> >     </role>
> >   </provides>
...
>     2. I don't feel comfortable with the <role/> element - roles
>        describe a form of usage of a artifact by a consumer - its
>        the consumer that understands a role, not the source of
>        the functionality - I would stick to <service/> as the
>        subject of what is provided.

The role is an equally valid concept from either end. The "Harrison Ford" 
Component can declare that it will fit into role "Han Solo". The "Fisher" 
Component can declare a dependency on "Han Solo" role via key 
"love-interest".

-- 
Cheers,

Peter Donald
----------------------------------------
Why does everyone always overgeneralize?
---------------------------------------- 


--
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