public interface DictI18nLoader
This interface serves as the foundation of the platinized architecture for loaders in the dict-i18n framework. All built-in or custom loaders must implement this interface to ensure the system can uniformly schedule dictionary loading logic from different data sources.
Core responsibilities:
loaderName()), used for configuration and priority controlget(String, String))The implementation class needs to realize specific loading logic based on its own characteristics (such as files, databases, Redis, etc. data sources), and can enhance functionality by combining with extension components like caching and data parsing. The system will invoke each loader through this interface's unified contract in the order of configured priorities, achieving collaboration among multiple data sources.
Copyright © 2025. All rights reserved.