[
https://issues.apache.org/jira/browse/FELIX-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873265#action_12873265
]
Pierre De Rop commented on FELIX-2369:
--------------------------------------
I forgot to mention that the optional dependency callback method is also
invoked before the start() method, while it should always be invoked after the
"start" callback.
But this might be a side effect caused by the current issue ?
> 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.