Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 66475 invoked from network); 26 Jun 2009 05:27:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jun 2009 05:27:30 -0000 Received: (qmail 67763 invoked by uid 500); 26 Jun 2009 05:27:41 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 67700 invoked by uid 500); 26 Jun 2009 05:27:40 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 67690 invoked by uid 99); 26 Jun 2009 05:27:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2009 05:27:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2009 05:27:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 63C81234C053 for ; Thu, 25 Jun 2009 22:27:07 -0700 (PDT) Message-ID: <385268687.1245994027406.JavaMail.jira@brutus> Date: Thu, 25 Jun 2009 22:27:07 -0700 (PDT) From: "Pierre De Rop (JIRA)" To: dev@felix.apache.org Subject: [jira] Created: (FELIX-1278) DM/ AutoConfig is active event if setCallbacks method has been invoked MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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/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. - You can reply to this email to add a comment to the issue online.