Friends know that when we use the Spring container, if we encounter some special beans, generally speaking, they can be configured in the following three…
This article mainly studies how parallelStream uses a custom thread pool ForkJoinPool java/util/concurrent/ForkJoinPool.java public class ForkJoinPool extends AbstractExecutorService { public ForkJoinPool(int parallelism, ForkJoinWorkerThreadFactory factory, UncaughtExceptionHandler…
When we usually do AOP development, we basically enhance a certain method and do something before or after a certain method is executed. This is…
In Spring AOP, our most commonly used methods of defining pointcuts are mainly two: These should be the two most commonly used methods of defining…
In the Spring Bean creation method, there is the following code: AbstractAutowireCapableBeanFactory#createBean: @Override protected Object createBean (String beanName, RootBeanDefinition mbd, @Nullable Object[] args) throws BeanCreationException…
Today I will talk to my friends about how proxy objects are created in Spring AOP, and through this process we will get familiar with…
In the Spring framework, BeanDefinition is a core concept used to define and configure bean metadata. Although in actual applications, we generally do not or…
1. Problem analysis When we use Spring, we sometimes encounter the following situation. Suppose I have two classes, A and B, and inject B into…
sequence This article mainly studies spring’s TransactionalEventListener TransactionalEventListener org/springframework/transaction/event/TransactionalEventListener.java /** * An { @link EventListener} that is invoked according to a { @link TransactionPhase}. *…
I saw an article about the performance comparison between Spring Boot virtual threads and Webflux this morning, and I thought it was pretty good. The…









