Stefan Seifert created SLING-7794:
-------------------------------------

             Summary: 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
             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)

Reply via email to