|
@@ -1,20 +0,0 @@
|
|
-package cn.com.qmth.examcloud.core.basic.starter.config;
|
|
|
|
-
|
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
|
-
|
|
|
|
-import cn.com.qmth.examcloud.core.basic.service.SystemPropertyService;
|
|
|
|
-import cn.com.qmth.examcloud.support.cache.CacheObjectTrigger;
|
|
|
|
-
|
|
|
|
-@Component
|
|
|
|
-public class ExamCloudCacheObjectTrigger implements CacheObjectTrigger {
|
|
|
|
-
|
|
|
|
- @Autowired
|
|
|
|
- SystemPropertyService systemPropertyService;
|
|
|
|
-
|
|
|
|
- @Override
|
|
|
|
- public void loadSysProperty(String propKey) {
|
|
|
|
- systemPropertyService.get(propKey);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-}
|
|
|