felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Bartlett <njbartl...@gmail.com>
Subject Re: declarative services and concurrency
Date Thu, 05 Mar 2009 10:09:30 GMT
It depends. If your component uses the "static policy" then the
binds/unbinds will not happen concurrently with the
activate/deactivate methods.

However, if you use "dynamic" policy then they certainly can happen
concurrently and you need to write your component to be thread-safe.

Regards
Neil

On Thu, Mar 5, 2009 at 9:52 AM, Reto Bachmann-Gmür
<reto.bachmann@trialox.org> wrote:
> I guess a simple question: is it guaranteed that the
> activate,deactivate, the bind- and unbind methods of a component are not
> called synchronously?
>
> Cheers,
> Reto
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message