You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by lu...@email.it on 2008/06/02 23:58:46 UTC
1 to many connection in Tuscany 1.2
Is it possible create a composite like this:
...<component name="multipleCall"><implementation.java
class="prove.MultipleReferenceImpl"/><reference
name="ref" target="Service1" /><reference
name="ref" target="Service2" /></component>...
In other words i wanna create a one to many connection (not multicast) using
only one reference. There is some manner to do this?
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
CheBanca! La prima banca che ti dà gli interessi in anticipo.
Fino al 4,70% sul Conto Deposito, zero spese e interessi subito. Aprilo!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7917&d=20080602
Re: 1 to many connection in Tuscany 1.2
Posted by Raymond Feng <en...@gmail.com>.
Hi,
You probably should have:
<reference name="ref" target="Service1 Service2"/>
Please make sure the java type for the field or setter with @Reference is
java.util.Collection<YourInterface> or an YourInterface[].
Thanks,
Raymond
--------------------------------------------------
From: <lu...@email.it>
Sent: Monday, June 02, 2008 2:58 PM
To: <tu...@ws.apache.org>
Subject: 1 to many connection in Tuscany 1.2
> Is it possible create a composite like this:
>
> ...<component name="multipleCall"><implementation.java
> class="prove.MultipleReferenceImpl"/><reference
> name="ref" target="Service1" /><reference
> name="ref" target="Service2"
> /></component>...
> In other words i wanna create a one to many connection (not multicast)
> using
> only one reference. There is some manner to do this?
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> CheBanca! La prima banca che ti dà gli interessi in anticipo.
> Fino al 4,70% sul Conto Deposito, zero spese e interessi subito. Aprilo!
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7917&d=20080602
>
>