Complete Spring 7 & Spring Boot 4 course from beginner to Advance using first thought principle.
Curated by: Coder Army (29 videos)
How does Spring AOP execute an aspect when a custom annotation is placed on a method? In this video, we create a custom annotation from scratch, bind it with Spring AOP using @annotation, and understand how the annotation object and its properties become available inside advice. We also go behind the scenes to understand where AOP fits into the Spring bean lifecycle, how BeanPostProcessor helps create proxies, and how the final proxy reference is stored and injected by the Spring container. Topics covered: Creating custom annotations using @interface Understanding @Target, @Retention and @Documented Marker annotations versus annotations with properties Using the @annotation() pointcut designator Type matching versus annotation binding Accessing annotation values inside advice Building a custom execution-time annotation Using ProceedingJoinPoint and proceed() Where proxy creation happens in the bean lifecycle Role of BeanPostProcessor in Spring AOP How Spring identifies beans that require proxies Proxy and target object relationship Understanding the method interceptor chain How multiple aspects execute and unwind Controlling aspect precedence using @Order By the end of this video, you will understand not only how to use custom annotations with Spring AOP, but also how Spring discovers, wraps and intercepts annotated methods internally. JAVA Beginner to Advance Series : https://youtube.com/playlist?list=PLQEaRBV9gAFsR15tNo2QLF9d2qc-c018p&si=lNuF5lyt4nKz9Up7 Join System Design WhatsApp Group: https://www.whatsapp.com/channel/0029VbBF1XKF1YlMyYuPM23s Code and Notes: Github : https://github.com/adityatandon15/Spring-Framework-Full-Course We have paid courses on DSA, Web Development , Blockchain, System Design & GenAI. Join Courses: https://strikes.in/ Coder Army Website: https://coderarmy.in/#home Coder Army App: https://play.google.com/store/apps/details?id=com.rohit.negi Connect with Aditya Tandon Instagram : https://www.instagram.com/adityatandon2 LinkedIn : https://www.linkedin.com/in/adityatandon2 Twitter : https://x.com/adityatandon02 Timestamps: