avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis Agahi <a...@users.sf.net>
Subject Merlin block.xml & component Impl
Date Fri, 03 Oct 2003 18:21:02 GMT
Steve just told me that it is not mandatory to declare lazy component in 
block.xml (obviously if there is no need to configure it manually)


That is really a nice feature that help to keep but, I have a little question.

If I have 2 impl (ImplA & ImplB) of an interface 

for example
For ImplA
 * @avalon.component version="1.0" name="ImplAName" lifestyle="singleton"
 * @avalon.service type="path.Interface"

For ImplB
 * @avalon.component version="1.0" name="ImplBName" lifestyle="singleton"
 * @avalon.service type="path.Interface"


How can I declare a dependency using a specific implem
* @avalon.dependency type="path.Interface:1.0"  key="KeyA"
?

How will merlin choose one implem (A or B) instead of another?


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


Mime
View raw message