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)絡(luò)云百問百答
- 社交電商運(yùn)營策略、技巧與實(shí)操
- TCP/IP入門經(jīng)典(第5版)
- 萬物互聯(lián):蜂窩物聯(lián)網(wǎng)組網(wǎng)技術(shù)詳解
- HCNA網(wǎng)絡(luò)技術(shù)
- 無人機(jī)通信
- 面向物聯(lián)網(wǎng)的嵌入式系統(tǒng)開發(fā):基于CC2530和STM32微處理器
- Socket.IO Real-time Web Application Development
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)及應(yīng)用
- 語音信號處理及Blackfin DSP實(shí)現(xiàn)
- 工業(yè)以太網(wǎng)技術(shù):AFDX/TTE網(wǎng)絡(luò)原理、接口、互連與安全
- 算力網(wǎng)絡(luò):云網(wǎng)融合2.0時(shí)代的網(wǎng)絡(luò)架構(gòu)與關(guān)鍵技術(shù)
- Microservices Development Cookbook
- 物聯(lián)網(wǎng)概論
- Twilio Cookbook(Second Edition)