[ https://issues.apache.org/jira/browse/FELIX-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated FELIX-259: ------------------------------------ Attachment: FELIX-259_2.diff Updated patch fixing a timing issue: The DepencyManager used to extend the ServiceTracker and overwrote the addingService method to handle added services. In certain situations, the DependencyManager was not able to correctly handle added services. If a dependency is added after the Component is enabled, the DependencyManager is notified by the addingService being called through the ServiceTracker. If this is the first service registered, the method is called while ServiceTracker.size() still returns zero. This causes activation of the component to fail. This modified patch now directly implemens the ServiceListener interface and correctly handles this situation. Other changes in this patch: > Added more trace logging > Handle Service Modifications by removing/adding the service from/to the component > Add support for factory components > ---------------------------------- > > Key: FELIX-259 > URL: https://issues.apache.org/jira/browse/FELIX-259 > Project: Felix > Issue Type: Improvement > Components: Declarative Services > Reporter: Felix Meschberger > Attachments: FELIX-259.diff, FELIX-259_2.diff > > > Implement support for Factory Components currently missing in the Felix scr > project. > I am working on this support. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.