felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuomas Kiviaho (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-4777) Dynamic initialization time configuration of @ConfigurationDependency
Date Fri, 30 Jan 2015 11:41:34 GMT
Tuomas Kiviaho created FELIX-4777:

             Summary: 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
         Environment: 3.2.0
            Reporter: Tuomas Kiviaho

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

View raw message