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
            Priority: Minor


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/[email protected]/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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to