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 or not?
Date Sun, 07 Jul 2002 03:07:10 GMT
At 03:45 PM 7/6/2002 +0200, you wrote:
>Why not merge ServiceDesignator and ServiceDescriptor into
>ServiceDescriptor? Since a dependency can specify version, why not
>extend it with attributes as well?

Thats how we originally had it. However a dependency also has attributes 
and it felt a bit wierd that a dependency had attributes and that the 
service definition inside dependency also had attributes.

It now looks like

<dependency>
   <role>blah</role>
   <service classname="FooService"/>
   <attributes>
     <attribute ...>
   <attributes>
</dependency>

so attributes are associated with dependency directly rather than via 
service reference.

Like?


Cheers,

Peter Donald
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Faced with the choice between changing one's mind,
and proving that there is no need to do so - almost
everyone gets busy on the proof."
              - John Kenneth Galbraith
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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