Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6811

osgi-mock: Support ServiceFactory and System Bundle

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      • when registering OSGi services it is possible to provide ServiceFactory instances instead of the service instance directly.
      • the system bundle can be obtained from the bundleContext via getBundle(SYSTEM_BUNDLE_ID) or getBundle(SYSTEM_BUNDLE_LOCATION)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sseifert Stefan Seifert
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment