UserXmlPreferencesCache.ktImplements AbstractUserPrefCache using XML files stored on disk per user. Uses JAXB or kotlinx.serialization for XML binding.
Loads entire preferences file into memory on first access, writes through to disk on changes, and uses file modification timestamps for cross-request cache validation.
Provides a file-based alternative to database storage for preferences, enabling configuration portability and simpler deployment scenarios without a database.
| Commit | What changed |
|---|---|
868d6abb75 | 2025 -> 2026 |
63081666f6 | Source file headers: 2024-> 2025. |
f8961fd661 | Shutdown handling of ProjectForge improved: ShutdownService will shutdown some services first before database will gone. |
011000f03d | Migration stuff in progress... (all tests of all packages: OK). |
4d58829ccd | UserPrefCache and UserXmlPreferencesCache refactored. |
2bf1323f2f | Migration stuff in progress... |
9afeb4b460 | UserXmlPreferencesDao/Cache: saved a lot of db calls. |