- 博客(7)
- 资源 (1)
- 问答 (1)
- 收藏
- 关注
原创 spring源码解析-5
继续走下去 /** * Process the given bean element, parsing the bean definition * and registering it with the registry. */ protected void processBeanDefinition(Element ele, BeanDefinitionParserDele...
2019-03-25 20:52:25 124
原创 spring源码解析-4
继续上篇,现在开始对xml文件具体元素进行解析 parseBeanDefinitions(root, this.delegate);看下具体的实现 /** * Parse the elements at the root level in the document: * "import", "alias", "bean". * @param root the DOM ...
2019-03-25 15:02:28 141
原创 spring源码解析-3
继续上篇内容,loadDocument(InputSource inputSource, EntityResolver entityResolver,ErrorHandler errorHandler, int validationMode, boolean namespaceAware) 的具体实现 /** * Load the {@link Document} at the sup...
2019-03-21 23:04:30 152
原创 sonarQube插件扫描出来的bug-Boxing/unboxing to parse a primitive
具体的问题出在Integer.valueOf("String")这句话的逻辑对应:String => int => Integer => int对应的改为Integer.parseInt("String")这句话对应的逻辑:String => int其实就是指出了不必要的装箱转换...
2019-03-21 20:25:09 7960
原创 spring源码解析-2
继续上一篇说的loadBeanDefinitions(EncodedResource encodedResource)方法, /** * Load bean definitions from the specified XML file. * @param encodedResource the resource descriptor for the XML file, * a...
2019-03-21 17:49:18 191
原创 spring源码解析-1
最近在看<spring源码深度解析>这本书,自己在GitHub上也下载了源码,DEBUG配合着看,做点笔记,加深下印象!巩固下知识.顺道给大伙分享下,有问题多多指教。一起进步哈。版本:spring5.1.x@Test public void testSimpleLoad(){ //xmlBeanFactory 方式 //整个xml的解析都是在这步完成的 BeanFac...
2019-03-20 21:30:53 205
转载 MySQL服务无法启动 服务没有报告任何错误 解决办法
安装版本:mysql-8.0.11-winx64按照网上步骤进行安装,在进行到install步骤时,提示“MySQL服务无法启动。服务没有报告任何错误。”解决方法:不需要在解压缩目录下手动创建data文件夹,cd到mysql的bin目录下,复制粘贴以下命令并回车:? 1 mysqld –initialize-insecure –user=mysql 然后就会看到data文件夹被自...
2018-07-25 21:04:21 349
xml格式的报文如何插入数据库??求大神解答?难道没高手知道问题出在哪儿//???
2013-08-28
TA创建的收藏夹 TA关注的收藏夹
TA关注的人