一种配置文件的加载方法及装置
By using a predefined enumeration class and a public class to determine the loading interval, configuration files are loaded in real time, solving the problem that the development framework cannot load configuration information in real time, simplifying the code and unifying the management of configuration files.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WEBANK (CHINA)
- Filing Date
- 2021-06-11
- Publication Date
- 2026-07-17
AI Technical Summary
In existing technologies, development frameworks cannot load newly added or modified configuration information in real time when loading configuration files, requiring a framework restart. Furthermore, configuration file management is complex and involves a lot of code.
By configuring loading instructions and utilizing preset enumeration classes and public classes, it can determine whether the loading interval of the configuration file meets the preset conditions, and load the updated configuration file in real time, simplifying the code implementation.
It enables configuration file loading without restarting, simplifies the code, unifies configuration file management, avoids resource waste, and improves the flexibility and accuracy of loading.
Smart Images

Figure CN113326077B_ABST