Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7380

Add missing OSGi capabilities

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • 1.8.2
    • None
    • None
    • None

    Description

      For resolving bundles (Karaf and Sling/OSGi features) at compile-time it's essential to have the proper meta data in place. The following capabilities are missing from Oak (to get up Sling, probably more):

      osgi.service;objectClass=org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore
      osgi.service;objectClass=org.apache.jackrabbit.oak.spi.blob.BlobStore
      osgi.service;objectClass=org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean
      osgi.service;objectClass=org.apache.jackrabbit.oak.api.jmx.QueryEngineSettingsMBean
      osgi.service;objectClass=org.apache.jackrabbit.oak.spi.mount.MountInfoProvider
      osgi.service;objectClass=org.apache.jackrabbit.oak.spi.security.SecurityProvider
      osgi.service;objectClass=org.apache.jackrabbit.oak.spi.state.NodeStore
      osgi.service;objectClass=org.apache.jackrabbit.oak.spi.state.NodeStoreProvider
      osgi.service;objectClass=org.apache.jackrabbit.oak.stats.StatisticsProvider
      

      Usually bnd adds meta data for capabilities to MANIFEST.MF when building bundles but does not take services into account when using e.g. BundleContext.registerService(...).

      See SLING-7546.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              olli Oliver Lietz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: