Spring source code -- Bean instantiation

Last BeanWrapper We introduced the origin of BeanWrapper. Now let's continue to see how Spring constructs a Bean. The code is not long and not particularly complex /** * Use the appropriate instantiation strategy to create beans: factorymethod, automatic injection of constructor, or simple parameterless constructor */ protected BeanWrap ...

Posted by dianaqt on Fri, 03 Dec 2021 22:01:04 -0800

Android event distribution mechanism - handling sliding conflicts

Before reading this article, it is recommended to read it first Android event distribution mechanism (1) - source code analysis_ z936689039 blog - CSDN blog 1. Case 1 We have to use the ps summary found in ViewGroup: 1. When ACTION_MOVE and action_ When the up event arrives, if no child element handles the event (mFirstTouchTarget==null), ...

Posted by clueless_rob on Mon, 29 Nov 2021 02:30:10 -0800

[programming art] analysis of darknet load_weights interface

Welcome to my official account, reply to 001 Google programming specification.  O_o   >_<   o_O   O_o   ~_~   o_O   this paper analyzes darknet load_weights interface, which is mainly used to load model weights.1. darknet data loading process    The previous article has introduced the data loading process of darknet target ...

Posted by VisionsOfCody on Wed, 17 Nov 2021 03:16:35 -0800

In depth analysis of RocketMQ source code - message storage module

1, IntroductionRocketMQ is Alibaba's open source distributed messaging middleware. It draws on Kafka's implementation and supports functions such as message subscription and publishing, sequential message, transaction message, timing message, message backtracking, dead letter queue and so on. RocketMQ architecture is mainly divided into four pa ...

Posted by Kold on Mon, 08 Nov 2021 18:12:18 -0800

[programming art] analysis of darknet parse_network_cfg interface

Welcome to my official account, reply to 001 Google programming specification.  O_o   >_<   o_O   O_o   ~_~   o_O   this paper analyzes and introduces darknet parse_network_cfg interface, which is a hard core, is mainly used to load the model structure and implement the operator.1. darknet data loading routine    Previous ...

Posted by l0ve2hat3 on Wed, 03 Nov 2021 00:08:42 -0700

k8s replicaset controller analysis - core processing logic analysis

replicaset controller analysis Introduction to replicaset controller Replicaset controller is one of many controllers in Kube controller manager component. It is the controller of replicaset resource object. It monitors replicaset and pod resources. When these two resources change, it will trigger the replicaset controller to tune the corresp ...

Posted by glueater on Sun, 24 Oct 2021 15:08:03 -0700

Java customizes the Annotation and parses the Annotation through reflection

1, Introduction For those who have used Spring, annotations are no stranger. I have also written an article to introduce annotations before. https://blog.csdn.net/zxd1435513775/article/details/89973721 2, Custom annotation 1. Create a custom Annotation @Documented @Target(ElementType.METHOD) // Indicates that the annotation can only ...

Posted by pfchin on Sat, 09 Oct 2021 18:42:48 -0700

[Spring source code series] Bean life cycle

The life cycle of Bean in Spring 1. What is Bean? All objects instantiated, assembled and managed by the Spring IoC container are called Bean objects. The Bean object itself can be regarded as a Pojo. Explanation on the official website: In Spring, the objects that form the backbone of your application and that are managed by the Spring ...

Posted by ybinds on Fri, 17 Sep 2021 15:19:34 -0700