Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1162

Component.getReferences returns null if a component that has references is not enabled.

    XMLWordPrintableJSON

Details

    Description

      The implementation of method org.apache.felix.scr.Component.getReferences in class org.apache.felix.scr.impl.AbstractComponentManager doesn't use m_componentMetadata but m_dependencyManagers to return the service references of a component, which causes a calling of getReferences to return null before "enable component" is scheduled.

      Attachments

        1. FELIX-1162.patch
          8 kB
          Felix Meschberger

        Activity

          People

            fmeschbe Felix Meschberger
            agemocui Agemo Cui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: