You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (JIRA)" <ji...@apache.org> on 2015/02/22 23:33:11 UTC

[jira] [Updated] (FELIX-4777) Dynamic initialization time configuration of @ConfigurationDependency

     [ 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: dependencymanager.runtime-4.0.0
                   dependencymanager.annotations-4.0.0

> 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
>            Assignee: Pierre De Rop
>             Fix For: dependencymanager.annotations-4.0.0, dependencymanager.runtime-4.0.0
>
>
> {{@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)