11 2019 档案
ServletContextAware接口的使用
摘要:继承了ServletContextAware接口类。那则可直接获取ServletContext。 获取流程 1、Spring通过XmlWebApplication加载bean。 2、他会调用父类AbstractRefreshableWebApplicationContext,的postprocess
阅读全文
ClassUtils.forName()学习知识点
摘要:spring源码解读时,在createWebApplicationContext时,需要对获取的contextClassName进行ClassUtils.forName(String name, ClassLoader classLoander)进行了分析 ClassUtils.forName 是时
阅读全文
浙公网安备 33010602011771号