]
Antoine Sabot-Durand commented on CDI-568:
------------------------------------------
Starting work based on [Weld SE
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/mai...]
could be interesting