How to understand @ Pointcut and @ Value
In this issue, the editor will bring you about how to understand @ Pointcut and @ Value. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
@ Pointcut ("execution (* com.asiainfo.path.controller.*.* (..)") @ Pointcut ("execution (public * com.asiainfo.path.controller.*.* (..)") Solution: controller@Pointcut of multiple directories ("execution (public * com.asiainfo.*.controller.*.* (..)")
Https://www.cnblogs.com/liaojie970/p/7883687.html each symbol
Https://blog.csdn.net/u013378306/article/details/86668304 symbols, in more detail
Execution of any method of any class defined in the service package and all subpackages: execution (* com.xyz.service... (..))
The first means to match the value returned by any method,.. (two dots) represents zero or more, the first.. Represents the service package and its subpackages, and the second represents all classes
The third * represents all methods, and the second.. Any number of parameters of the representation method
Difference between https://blog.csdn.net/f_myit_road/article/details/79536670 * and * *
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'fitting.topic' in value "${fitting.topic}"
The default value for @ Value annotation @ Value ("${fitting.topic:fitting}")
Https://blog.csdn.net/TimerBin/article/details/84818785
This is how the editor shares the understanding of @ Pointcut and @ Value. If you happen to have similar doubts, you might as well refer to the above analysis. If you want to know more about it, you are welcome to follow the industry information channel.