Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1307

Concurrency issues in the weld-osgi extender

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • OSGi support
    • None

    Description

      The weld-osgi-core-extension uses direct api calls for checking services and bundles instead of using ServiceTracker and BundleTracker.
      The use of this class is not mandatory, but recommanded for such use cases.
      The reason is that those classes handle well the dynamism of OSGi, while the existing weld activators may miss events that are sent between the time the list of initial bundles is handled and the time the bundle listener is registered for new events. Simply inverting those calls is not sufficient as you'd have to cope with the possibility to receive events while checking bundles.
      I can work on a patch if you want.

      Attachments

        Activity

          People

            ajustin@redhat.com Ales Justin
            g_nodet Guillaume Nodet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: