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