AOP terminology, trade terminology
Spring's AOP has always been completely unknown, and configuration is used when it is used. However, the definition of it is still very tangled and cannot be accurately understood, however, to make good use of this technology, you must understand the expression of this technology. The term is the most basic unit of this technology expression.
I have the honor to read the description of AOP In Spring In Action again today. I am very open-minded. I would like to summarize the meaning of each term here.
Cross-cutting concerns:A function that is distributed in multiple places in an application is called a cross-concern, such as logs, audits, and transactions.
Aspect (Aspect ):The notification + cut point defines when and where to complete an actual function.
Notification (Advice ):The work to be completed at a certain time point, that is, what and when. spring has five types of notifications, respectively.
Pointcut ):One or more connection points define where a plane executes notifications.
Join point (Joinpoint ):A point that can be inserted into an application.
Weaving ):Apply the aspect to the target object to create a proxy object. There are three implementation methods in the object declaration period: