[ 
https://issues.apache.org/jira/browse/FELIX-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre De Rop resolved FELIX-2369.
----------------------------------

    Resolution: Fixed

Fixed in revisions 953572/953573.

Now, all extra dependencies defined in init methods are buffered, until the 
init() method returns. And after, we then calculate the state changes. This 
avoid to start the service when a first dependency is available, while further 
added dependencies are not.

> DM/ Service start method is invoked even if an extra required dependency is 
> unavailable
> ---------------------------------------------------------------------------------------
>
>                 Key: FELIX-2369
>                 URL: https://issues.apache.org/jira/browse/FELIX-2369
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager
>            Reporter: Pierre De Rop
>         Attachments: FELIX2369_ExtraDependencyTest.java
>
>
> I define two extra dependencies D1 and D2 from my Service's init method. 
> D1 is optional/available, and specified with a callback.
> D2 is required/unavailable, and specified in autoconfig mode.
> The issue is that my service's start/stop methods are called, even if D2 is 
> not there.
> I will attach a test case for this issue (which might be related to the other 
> FELIX2344 issue ?).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to