Guillaume Nodet created FELIX-4317:
--------------------------------------

             Summary: SCR implementation should avoid using 
bundleContext.getBundle()
                 Key: FELIX-4317
                 URL: https://issues.apache.org/jira/browse/FELIX-4317
             Project: Felix
          Issue Type: Improvement
          Components: Declarative Services (SCR)
    Affects Versions: scr-1.8.0
            Reporter: Guillaume Nodet
            Assignee: Guillaume Nodet
             Fix For: scr-1.8.2


The reason is that the bundle context can be invalidated by the framework, so 
keeping the bundle as a member property avoids running into such exceptions



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to