felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FELIX-1278) DM/ AutoConfig is active event if setCallbacks method has been invoked
Date Tue, 10 May 2011 08:37:03 GMT

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

Marcel Offermans closed FELIX-1278.

Part of the 3.0.0 release.

> DM/ AutoConfig is active event if setCallbacks method has been invoked
> ----------------------------------------------------------------------
>                 Key: FELIX-1278
>                 URL: https://issues.apache.org/jira/browse/FELIX-1278
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager
>    Affects Versions: dependencymanager-2.0.1
>         Environment: linux fc10/ jdk1.5/1.6
>            Reporter: Pierre De Rop
>            Assignee: Marcel Offermans
>            Priority: Minor
>         Attachments: ServiceDependency.java
> Marcel, in this issue, I come back to you about an old thread that I posted last november
2008 here -> http://www.mail-archive.com/users@felix.apache.org/msg02582.html
> In this thread, I mentioned a potential problem concerning AutoConfiguration: Indeed,
AutoConfig is active by default, even if ServiceDependency.setCallbacks() method has been
invoked. So, all Pojo's attributes (wich types are the same as the injected dependency) are
overriden by reflexion (auto config mode).
> Currently, each time I call setCallbacks(), I must take care of calling setAutoConfig(false)
> We think that AutoConfig mode should be disabled when setCallbacks methods is invoked.
> /pierre

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message