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 2018/08/06 08:19:00 UTC

[jira] [Closed] (SLING-7794) osgi-mock: Dynamic reference properties

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

Stefan Seifert closed SLING-7794.
---------------------------------

> osgi-mock: Dynamic reference properties
> ---------------------------------------
>
>                 Key: SLING-7794
>                 URL: https://issues.apache.org/jira/browse/SLING-7794
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Testing OSGi Mock 2.3.8
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Major
>             Fix For: Testing OSGi Mock 2.3.10
>
>
> [PR #3|https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/3] from [badfish69|https://github.com/badfish69]:
> {quote}
> This is a pull request to add support for correct resolution of SCR references where the target filter is provided via service properties rather than being hard-coded into the metadata.
> e.g. if you have code like this
> {code:java}
> @reference
> MyClass myClass
> {code}
> The OSGI spec allows for the target service to be filtered via a property: myClass.target, which provides a runtime equivalent to the @reference(target=filter) static way of doing it.
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)