Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand @ Pointcut and @ Value

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report