You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Michael Hoppe <mi...@gmail.com> on 2013/10/19 15:47:44 UTC
iPOJO Whiteboard Pattern vs. Aggregate bind
Hi@all,
one question about the Whiteboard Pattern:
I assume that binding services via Whiteboard Pattern (@Wbp) is always done
after validating the collecting component, while @bind calls for aggregates
can come before validating. Is this correct?
Regards
Michael
Re: iPOJO Whiteboard Pattern vs. Aggregate bind
Posted by Clement Escoffier <cl...@gmail.com>.
Hi,
On 19 oct. 2013, at 15:47, Michael Hoppe <mi...@gmail.com> wrote:
> Hi@all,
>
> one question about the Whiteboard Pattern:
>
> I assume that binding services via Whiteboard Pattern (@Wbp) is always done
> after validating the collecting component, while @bind calls for aggregates
> can come before validating. Is this correct?
Yes it is.
However the main difference is about the target.
- An aggregate bind must have a specification (i.e. interface) defined, it receives service objects
- The whiteboard pattern does not target a specification, just services matching the defined filter. It receives service references
Regards,
Clement
>
> Regards
> Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org