Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
scr-1.6.0
-
None
Description
Hi,
i got the following problem.
I've some references to services, some of them are mandatory and some are optional. Well now osgi/scr waits to call the bind methods till all mandatory services are available.
However when it starts to call the bind methods it seems that it doesn't care if those are mandatory or optional. This can result in a not expected behavior where optional dependencies are satisfied before the mandatory are.
Consider you have a optional dynamic multiple service binding which you want to use with a mandatory service. There's as far as it looks to me no way to ensure that the mandatory binds are called before optional are allowed.