Reading configuration from the MicroProfile Config API
The MicroProfile Config specification defines two objects to read the value of configuration parameters:
- The Config object to programmatically access the configuration values
- The @ConfigProperty annotation to inject the configuration values using Contexts and Dependency Injection (CDI)
Let's discuss them in detail.
推薦閱讀
- 自動駕駛網(wǎng)絡:自智時代的網(wǎng)絡架構(gòu)
- 面向物聯(lián)網(wǎng)的CC2530與傳感器應用開發(fā)
- 物聯(lián)網(wǎng)關(guān)鍵技術(shù)及應用
- 中小型局域網(wǎng)組建、管理與維護實戰(zhàn)
- 數(shù)字調(diào)制解調(diào)技術(shù)的MATLAB與FPGA實現(xiàn):Altera/Verilog版(第2版)
- Unity Artificial Intelligence Programming
- 物聯(lián)網(wǎng)工程導論(第3版)
- 智慧城市中的物聯(lián)網(wǎng)技術(shù)
- 物聯(lián)網(wǎng)
- 物聯(lián)網(wǎng)技術(shù)與實踐
- 5G新型多址技術(shù)
- 互聯(lián)網(wǎng)視覺設計(全彩慕課版)
- Scala Programming Projects
- Learning Dart
- CiviCRM Cookbook