Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4777

Dynamic initialization time configuration of @ConfigurationDependency

    XMLWordPrintableJSON

Details

    Description

      @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).

      Attachments

        Activity

          People

            pderop Pierre De Rop
            tuomas_kiviaho Tuomas Kiviaho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: