[ROO-3673] Switch to ServiceTracker utility Created: 10/Sep/15 Updated: 11/Sep/15 Resolved: 11/Sep/15
|Reporter:||Enrique Ruiz (DiSiD)||Assignee:||Enrique Ruiz (DiSiD)|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
We solved it by moving from automatic service dependency resolution to manual way by calling the Service Registry (BundleContext.getAllServiceReferences()) to get the service references when they are needed.
It solved the cycle references problem but this solution doesn't manage the dynamic nature of OSGi services.
This task consist in migrating to ServiceTracker utility to hide the complexities of listening to and consuming dynamic services. By the moment we will migrate those service references that are used in the activate method.
|Comment by Enrique Ruiz (DiSiD) [ 11/Sep/15 ]|