Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3673

Switch to ServiceTracker utility

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.0.0.M1
    • Fix Version/s: 2.0.0.M2
    • Component/s: @ CORE
    • Labels:
      None

      Description

      On ROO-3553 we detected services cycle references at initialization time.

      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.

        Attachments

          Activity

            People

            • Assignee:
              eruiz Enrique Ruiz (DiSiD)
              Reporter:
              eruiz Enrique Ruiz (DiSiD)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: