Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-568

Enhancing Java SE bootstrap API

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.0 .Final
    • 2.0-EDR1
    • Java SE Integration
    • None

      As discussed during our Paris Face to Face meeting, we should work on enhancing the SE bootstrap API designed for EDR1.
      The current version has the following flaws:

      • Use existing classes was a bad idea (of mine). It prevents us to remove bootstrap classes in Java EE and force the impl to manage extra work if a user in EE try to use boostrap API.
      • While the parameter map is useful, I find it's not fitting the CDI strong typed philosophy, so it would be better to use it as fallback for implementation specific configuration.
      • Don't provide a nice way to programmatically configure the container behavior.

      That's why I'd like to update the proposed API and provide a more complete approach. Starting with the new Weld SE api could be interesting

              asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
              asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: