Daniel Kulp created ARIES-1120:
----------------------------------

             Summary: getComponentIds returns the context/bundle/etc... even 
during a reset
                 Key: ARIES-1120
                 URL: https://issues.apache.org/jira/browse/ARIES-1120
             Project: Aries
          Issue Type: Bug
          Components: Blueprint
            Reporter: Daniel Kulp
            Assignee: Daniel Kulp


A bundle refresh will cause the componentDefinitionRegistry to be reset() 
(which is OK).  However, if a call is made to  getComponentIds() between the 
reset call and the call to populate the registry, the returned Set contains 
entries for blueprintContainer, blueprintBundle, blueprintBundleContext, and 
blueprintConverter. If you then try to lookup the metadata for those, an 
exception is thrown.   

Likely the call to getComponentIds() should not automatically add those.  In 
addition, immediately after reset, we should re-add those to make sure they are 
available.




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

Reply via email to