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

Pierre De Rop updated FELIX-2344:
---------------------------------

    Attachment: sample.instancebound.tgz

> DM / callback method is not invoked when an extra dependency is defined 
> within an "init" component method.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2344
>                 URL: https://issues.apache.org/jira/browse/FELIX-2344
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager
>            Reporter: Pierre De Rop
>             Fix For: upnp-basedriver-0.8.0
>
>         Attachments: sample.instancebound.tgz
>
>
> This issue applies to the trunk version of dependency manager.
> So, it seems that when a component defines custom dependencies from its 
> "init" method, then such extra dependencies only support auto configuration 
> mode, and not callbacks.
> I have attached to this issue a sample maven project which reproduces the 
> problem:
> In the sample, a "MyClient" component is defining (from its init() method) an 
> extra required dependency over a "MyService" service, using a "bind" 
> callback. So, the start() method is invoked, but the bind method has not been 
> called.

-- 
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