Spring Boot - AOP

Weaving in AOP proxy

Weaving in aspect-oriented programming (AOP) is the process of combining aspects with the main application code to create an advised object. It is the process of linking an aspect to the target object to form a new, advised object. This process can be done at compile time, load time, or runtime.

For example, consider a logging aspect that you want to apply to all the methods in an application. Weaving the aspect with the main application code involves combining the logging code with the code of the methods. After weaving, the advised object is created and the logging code will be executed each time a method is called.