Component.getReferences returns null if a component that has references is not
enabled.
---------------------------------------------------------------------------------------
Key: FELIX-1162
URL: https://issues.apache.org/jira/browse/FELIX-1162
Project: Felix
Issue Type: Bug
Components: Declarative Services (SCR)
Affects Versions: scr-1.0.8
Reporter: Agemo Cui
Priority: Minor
Fix For: scr-1.0.10
The implementation of method
{color:blue}org.apache.felix.scr.Component.getReferences{color} in class
{color:blue}org.apache.felix.scr.impl.AbstractComponentManager{color} doesn't
use {color:red}m_componentMetadata{color} but
{color:red}m_dependencyManagers{color} to return the service references of a
component, which causes a calling of {color:blue}getReferences{color} to return
null before "enable component" is scheduled.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.