-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
CDI 5.0 adds the concept of reserves ("default beans") that Weld needs to implement.
Some impl notes:
- Every bean now needs to carry an information as to whether it is a standard bean or a reserve
- Synth beans can declare reserves as well (BCE, PE)
- Stereotypes can declare reserves
- Reserves need to be enabled via priority
- AfterTypeDiscovery allows access to list of all reserves along with the ability to modify them, much like for alternatives and interceptors
- Bean resolution algorithm will need to be changed to account for reserves