You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2017/05/05 16:37:04 UTC

[jira] [Closed] (SLING-6811) osgi-mock: Support ServiceFactory and System Bundle

     [ https://issues.apache.org/jira/browse/SLING-6811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seifert closed SLING-6811.
---------------------------------

> osgi-mock: Support ServiceFactory and System Bundle
> ---------------------------------------------------
>
>                 Key: SLING-6811
>                 URL: https://issues.apache.org/jira/browse/SLING-6811
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>              Labels: mocks
>             Fix For: Testing OSGi Mock 2.3.0
>
>
> * 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)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)