
源码解析
文章平均质量分 79
Real沉醉
这个作者很懒,什么都没留下…
展开
-
从源码分析spring bean生命周期
生命周期流程图(这里我用一张别人的):跟踪bean加载流程,入口BeanFactory的getBean(String name)(spring中真正干活的方法一般以do开头)AbstractAutowireCapableBeanFactory的doCreateBean方法源码如下:protected Object doCreateBean(final String beanName, f...原创 2020-04-15 17:53:22 · 197 阅读 · 0 评论 -
源码阅读-JUC-ArrayBlockingQueue
先上ArrayBlockingQueue的类图:主要方法:add(E e)方法和offer(E e)/** * Inserts the specified element at the tail of this queue if it is * possible to do so immediately without exceeding the queue's ca...原创 2020-04-10 12:23:36 · 154 阅读 · 0 评论 -
源码阅读
2019-05-151,Object类的方法registerNatives(),getClass(),hashCode(),equals(Object var1),toString(),Object clone(),notify(),notifyAll(),wait(long var1),wait(long var1, int var3),wait(),finalize(),空的构造方法其中...原创 2019-05-15 18:13:48 · 149 阅读 · 0 评论