Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B96D817E10 for ; Sun, 1 Mar 2015 14:20:05 +0000 (UTC) Received: (qmail 10675 invoked by uid 500); 1 Mar 2015 14:20:05 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 10605 invoked by uid 500); 1 Mar 2015 14:20:05 -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 10593 invoked by uid 99); 1 Mar 2015 14:20:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Mar 2015 14:20:05 +0000 Date: Sun, 1 Mar 2015 14:20:05 +0000 (UTC) From: "Pierre De Rop (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FELIX-4777) Dynamic initialization time configuration of @ConfigurationDependency MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-4777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre De Rop updated FELIX-4777: --------------------------------- Fix Version/s: (was: dependencymanager.runtime-4.0.0) (was: dependencymanager.annotations-4.0.0) org.apache.felix.dependencymanager-r1 > Dynamic initialization time configuration of @ConfigurationDependency > ---------------------------------------------------------------------- > > Key: FELIX-4777 > URL: https://issues.apache.org/jira/browse/FELIX-4777 > Project: Felix > Issue Type: Improvement > Components: Dependency Manager Annotations, Dependency Manager Runtime > Environment: 3.2.0 > Reporter: Tuomas Kiviaho > Assignee: Pierre De Rop > Fix For: org.apache.felix.dependencymanager-r1 > > > {{@ConfigurationDependency}} annotation is missing the {{name}} method whitch would allow to postpone the callback methods after initialization. > I stumbled upon this problem when I needed JTA at {{updated}} method but the manager (via service dependency) was not yet available. > As a bonus one could then add support for metadata customization and have an impact on {{required}} based on information gathered from dependencies/injections that have already arrived at this point (BTW: currently it's just hardcoded as {{true}} although the metadata - already as it is - would be useful even in {{false}} mode). -- This message was sent by Atlassian JIRA (v6.3.4#6332)