hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Wannheden <>
Subject Re: Explicit wiring of services
Date Mon, 15 Nov 2004 08:43:05 GMT

If there is more than one Adder service visible to the module
contributing the Calculator implementation then you are out of luck
with autowiring.  You have two choices:

- either you completely disable autowiring (see <construct>'s
autowire-services attribute)
- or you leave autowiring enabled but explicitly wire the Adder you
want using a <set-service>.



On Mon, 15 Nov 2004 16:37:06 +0800, Christopher Cheng
<> wrote:
> In the Calculator example, the "invoke-factory" of service point
> "Calculator" autowires Adder, Subtractor, Multiplier, Divider to it because
> there is only one service of each implementing the interfaces. How can I
> configure it if there is 2 adders?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message