You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2016/12/21 15:10:58 UTC

[jira] [Created] (FELIX-5457) [R7] Logger Support

Carsten Ziegeler created FELIX-5457:
---------------------------------------

             Summary: [R7] Logger Support
                 Key: FELIX-5457
                 URL: https://issues.apache.org/jira/browse/FELIX-5457
             Project: Felix
          Issue Type: Sub-task
            Reporter: Carsten Ziegeler


DS must add special support for injecting Logger and FormatterLogger objects even though they themselves are not services. When a component references the Logger or FormatterLogger types, SCR must get first get the LoggerFactory service matching the reference and then call the getLogger(String, Class)  method passing the component implementation class name as the first argument and the Logger type as the second argument. The returned Logger object is then injected for the reference, rather than the LoggerFactory service used to create the Logger.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)