felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David.Humen...@L-3Com.com
Subject Unbinding method fails when deactivating service component
Date Fri, 12 Aug 2011 14:02:24 GMT
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


Mime
View raw message