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

Antoine Sabot-Durand (JIRA) issues at jboss.org
Tue Jan 19 11:52:00 EST 2016

    [ https://issues.jboss.org/browse/CDI-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150798#comment-13150798 ] 

Antoine Sabot-Durand commented on CDI-568:

Starting work based on [Weld SE api|https://github.com/weld/core/blob/master/environments/se/core/src/main/java/org/jboss/weld/environment/se/Weld.java]

> 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
>            Assignee: 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