Easter79 Easter79
4年前
springioc学习
springioc类图!(https://oscimg.oschina.net/oscnet/up1f3f48e7a24e818fcd4392d8ab50311b462.png)springioc关键接口:ResourceBeanDefinitionReaderBeanFactoryBeanDe
Easter79 Easter79
4年前
SpringBoot2通过sql脚本文件生成表时不成功
SpringBoot2通过jdbc生成数据表应该参看 DataSourceInitializerInvoker这个类了!(https://img2018.cnblogs.com/blog/1242355/201905/124235520190516164424942334144530.png)!(https://oscimg.oschi
Wesley13 Wesley13
4年前
Java编程思想笔记整理
实现线程的方法:(1)继承thread(底层实现了runable)(2)实现Runable(3)Executor创建线程池(4)实现Callable接口(带返回结果)对于callable接口,可以通过FutureTask包装实现线程,也可以使用ExecutorService对象的submit实现。使用executor创建线程
Stella981 Stella981
4年前
JavaScript中判断数组是否包含某个元素
javascript的Array没有contains方法,有时候这会不方便,contains方法实现很简单可以扩展Array类,如下:写法1.Array.prototype.containsfunction(obj){varithis.length;while(i){
Wesley13 Wesley13
4年前
JS和C#后台获取网站URL
例:网页URL: http://localhost:8086/index.aspx?topicId3611.设置或获取href属性中跟在问号后面的部分:window.location.search   alert(window.location.search);则输出:?topicId3612.设置或获取对象指定的文件名或路径:
Stella981 Stella981
4年前
Shiro源码分析
    在Shiro中,登录操作是由Subject的login()方法完成的,Subject是个接口,在Web环境中,实现类为WebDelegatingSubject,login方法从DeletatingSubject继承而来:publicvoidlogin(AuthenticationTokentoken)throwsAuthenti
Wesley13 Wesley13
4年前
AQS
AQS初探1.AQS(AbstractQueuedSychronizer)简述1.AbstractQueuedSychronizer是java.util.concurrent包下同步器类的灵魂组件,很多同步组件都是基于它实现的,比如CountD
Easter79 Easter79
4年前
SpringBoot读取配置文件信息
application.properties配置文件的读取方式有以下两种Environment方式读取框架中有一个org.springframework.core.env.Environment类,可以读取application.properti
京东云开发者 京东云开发者
10个月前
Seata 源码
作者:京东物流张士欣核心接口和类ResourceManagerResourceManager是seata的重要组件之一,RM负责管理分支数据资源的事务。AbstractResourceManager实现ResourceManager提供模板方法。Defau
GeorgeGcs GeorgeGcs
4个月前
【HarmonyOS 5】ArrayBuffer转Base64,Base64转ArrayBuffer,Uri转ArrayBuff,PixelMap转ArrayBuffer,图片Uri转为PixelMap
【HarmonyOS5】ArrayBuffer转Base64,Base64转ArrayBuffer,Uri转ArrayBuff,PixelMap转ArrayBuffer,图片Uri转为PixelMap\鸿蒙开发能力HarmonyOSSDK应用服务鸿蒙金融类