Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-932

Consider removing lazy activation policy for OpenCMIS OSGI Client Wrapper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • OpenCMIS 0.13.0
    • OpenCMIS 0.14.0
    • opencmis-client
    • OSGi

    Description

      Currently the bundle activation policy is set to 'lazy' for OpenCMIS OSGi Client library.
      But inside the Bundle Activator a Service (SessionFactory) is registered programmatically (not via DS/SCR).
      This leads to problems if for example bundle A binds the SessionFactory service via DS. Bundle A only gets activated when Client bundle is activated.

      In my case I have problems in my integration tests for Bundle A where no classes from Client Bundle are called before receiving service from Bundle A (which again needs SessionFactory service).

      Could you consider removing 'Bundle-ActivationPolicy: lazy' from manifest?

      Just for reference:
      http://wiki.osgi.org/wiki/Bundle-ActivationPolicy

      Attachments

        Activity

          People

            fmui Florian Müller
            shomeier Sascha Homeier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: