felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: Unbinding method fails when deactivating service component
Date Fri, 12 Aug 2011 14:04:59 GMT
I think SCR may process events asynchronously to avoid deadlocks, in 
which case it wouldn't be available. Just a guess...

-> richard

On 8/12/11 10:02 AM, David.Humeniuk@L-3Com.com wrote:
> I have a situation where I stop a bundle, which causes all of the
> declarative services to be deactivated.  As one of the component is
> being deactivated, the SCR attempts to unbind all service references.
> One of the unbinding methods for the service uses the ServiceReference
> argument and attempts to get the service object from the reference.
> However, this doesn't work since somehow the service has already be
> unregistered.
>
> Shouldn't the unbinding method be called before the service is
> unregistered?
>
> I'm using Felix SCR 1.6.0 and Felix 3.2.2.
>
> Let me know if you need more info.
>
> David Humeniuk
>
> ---------------------------------------------------------------------
> 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