|
|
@@ -1,8 +1,5 @@ |
|
|
|
package cc.smtweb.framework.core.mvc.controller.scan; |
|
|
|
|
|
|
|
import cc.smtweb.framework.core.cache.AbstractCache; |
|
|
|
import cc.smtweb.framework.core.cache.CacheManager; |
|
|
|
import cc.smtweb.framework.core.cache.ISwCache; |
|
|
|
import cc.smtweb.framework.core.mvc.config.ControllerConfig; |
|
|
|
import cc.smtweb.framework.core.mvc.controller.ApiConfigBean; |
|
|
|
import cc.smtweb.framework.core.mvc.controller.MethodAccessManager; |
|
|
@@ -60,14 +57,6 @@ public class ApplicationScanner { |
|
|
|
|
|
|
|
log.info("[smt] scan ok."); |
|
|
|
} |
|
|
|
|
|
|
|
// 处理权限管理和启动定时任务 |
|
|
|
AbstractCache realmCache = CacheManager.getIntance().getCache(ISwCache.REALM_CACHE); |
|
|
|
|
|
|
|
if (realmCache == null) { |
|
|
|
log.error("not find RealmCache"); |
|
|
|
} |
|
|
|
|
|
|
|
methodAccessManager.init(beanManager, realmCache); |
|
|
|
methodAccessManager.init(beanManager, null); |
|
|
|
} |
|
|
|
} |