Details
-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
Right now, the CDI class takes the first provider whose javax.enterprise.inject.spi.CDIProvider.getCDI() does not return null. It might be useful to allow the CDIProvider authors to specify a priority (either by @Priority or by Prioritized) and sort the discovered providers so that those with higher priority are taken first.