首页 > TAG信息列表 > jeesite1.2

开源项目学习-jeesite1.2.7-UserUtils

可以学习+利用的点 结构分析 UserUtils经常出现在业务代码中,下面开始分析这个类的结构和功能。 首先就是实例化静态类,然后是参数定义。实例化静态类使用了SpringContextHolder的getBean方法。 /** * 用户工具类 * @author ThinkGem * @version 2013-12-05 */ public class Use

开源项目学习-jeesite1.2.7-缓存相关

Shiro缓存 参考资料 Shiro之缓存管理 数据缓存 spring-context-shiro.xml定义了缓存管理器: <bean id="shiroCacheManager" class="org.apache.shiro.cache.ehcache.EhCacheManager"> <property name="cacheManager" ref="cacheManager"/> &l