1, Basic source code analysis
1. Find the entrance
Spring's AOP is started by accessing the BeanPostProcessor postprocessor
BeanPostProcessor is embodied in the doCreateBean of IOC source code analysis, the latter sentence of populateBean
Object exposedObject = bean;
Posted by ghostrider1 on Sat, 13 Jun 2020 07:56:32 +0200
1 Functional Interface
Functional interfaces in Java refer to interfaces that have one and only one abstract method
Functional interfaces, that is, interfaces for functional programming scenarios; while functional programming in Java is represented by Lambda, so functional interfaces are interfaces th ...
Posted by chris_s_22 on Sat, 13 Jun 2020 03:57:12 +0200
Shell_04_Regular expression RE
What is a regular expression
Simply put, a regular expression is the way to process strings. It handles strings in units of behavior. Regular expressions, assisted by some special symbols, make it easy for users to "search/delete/replace" a particular string ...
Posted by geekette on Sat, 13 Jun 2020 03:06:51 +0200
1, The concept of inheritance
Inheritance is a cornerstone of java object-oriented programming technology, because it allows the creation of hierarchical classes.
Inheritance means that the subclass inherits the characteristics and behaviors of the parent class, making the subclass object (instance) have the instance domain and methods of the p ...
Posted by Anidazen on Fri, 12 Jun 2020 10:43:12 +0200
Inheritance is one of the most important concepts in object-oriented programming. Inheritance allows us to define another class according to one class, which makes it easier to create and maintain an application, and is also conducive to code reuse and development time saving.
Syntax:[access m ...
1. Speed limit router
Speed limit is one of the common means in high concurrency scenarios, which can effectively guarantee the overall stability of the service. Spring Cloud Gateway provides a Redis based flow limit scheme. So we need to add the corresponding dependency package spring boot starter data R ...
Posted by llangres on Fri, 12 Jun 2020 08:28:01 +0200
Springboot integrates a lot of plug-ins. Compared with spring, springboot is a little bit
Auto configuration: for many spring applications, springboot provides many auto configurations
Start dependency: tell springboot what you need, and it will introduce the required Library
Command line interface: optional features of springboot
Posted by jbruns on Thu, 11 Jun 2020 06:23:55 +0200
1. Overview of Easy Rules
Easy Rules is a Java rules engine inspired by a piece called< Should I use a Rules Engine? >The article of
The rule engine is to provide an optional calculation model. Unlike the usual imperative model, which consists of commands with conditions and cycles in turn, the rule engine is based on the production rule ...
Posted by lrdaramis on Thu, 11 Jun 2020 06:11:10 +0200
twirp Is a RPC framework based on Google Protobuf.Trp automatically produces server and client code by defining the service in the.proto file.Let's focus more on business logic.Huh?Isn't this gRPC?Unlike gRPC, which implements its own set of HTTP servers and network transport layers, twirp uses the standard library net/http.I ...
Posted by om.bitsian on Wed, 10 Jun 2020 19:04:20 +0200
Having read the previous metamorphosis series, I'm sure you have an understanding of mybatis in its application.But it's not enough to complete your metamorphosis. Considering your basics, let's go back to spring and talk about AOP.
Ape metamorphosis is also an original series of articles to help yo ...