[cdi-dev] [JBoss JIRA] (CDI-568) Enhancing Java SE bootstrap API

Antoine Sabot-Durand (JIRA) issues at jboss.org
Mon Nov 2 10:32:00 EST 2015

Antoine Sabot-Durand created CDI-568:

             Summary: Enhancing Java SE bootstrap API
                 Key: CDI-568
                 URL: https://issues.jboss.org/browse/CDI-568
             Project: CDI Specification Issues
          Issue Type: Feature Request
          Components: Java SE Integration
    Affects Versions: 2.0-EDR1
            Reporter: Antoine Sabot-Durand

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|https://github.com/weld/core/blob/master/environments/se/core/src/main/java/org/jboss/weld/environment/se/Weld.java] could be interesting 


This message was sent by Atlassian JIRA

More information about the cdi-dev mailing list