摘要:
Str.endsWith(String) 以string 为结尾返回true 否则 返回falsestr.indexOf(String str) 返回str在字符串第一次出现索引 没有返回-1/ str.indexOf(String str, int index) 返回从index位置开始查找字符串 阅读全文
posted @ 2022-06-18 22:50
花心大萝卜li
阅读(17)
评论(0)
推荐(0)
摘要:
ClassPathXmlApplicationContext setConfigLocations(configLocations);//当前是设置配置看路径 还有一种是设置资源 而且这里还有系统环境和系统属性 username=Administrator AbstractApplicationCo 阅读全文
posted @ 2022-06-18 22:49
花心大萝卜li
阅读(22)
评论(0)
推荐(0)
摘要:
用来解析当前系统所需要的资源 生成唯一表示 在AbstractRefreshableApplicationContext中获取getid 创建一个工厂类 阅读全文
posted @ 2022-06-18 18:47
花心大萝卜li
阅读(30)
评论(0)
推荐(0)
摘要:
spring 准备阶段做了什么? 1设置容器启动时间 * 2设置标志位 * 3获取环境对象 验证属性资源 * 4存储预刷新监听器和 事件的集合对象 进入obtainFreshBeanFactory 设置beanFactory 是否允许覆盖 与否允许bean之间存在循环依赖 创建beanFactory 阅读全文
posted @ 2022-06-18 14:31
花心大萝卜li
阅读(62)
评论(0)
推荐(0)

浙公网安备 33010602011771号