Spring's pointcut (three dynamic Pointcut)

Source: Internet
Author: User

Because dynamic pointcuts consider the parameters of a method in addition to static information such as the name of the method. Because it is dynamic, it is necessary to compute the static information of the method and calculate its parameters, and the result cannot be cached. Therefore, dynamic pointcuts consume more system resources.

The following implementations of dynamic pointcuts are provided in spring, as described below:

1, Controlflowpointcut: Control process entry point. For example, when a connection point is invoked in a particular class or method, the device is triggered, and controlflowpointcut can be used. But its system overhead is very large, in the pursuit of efficient applications, do not recommend the use.

2, Dynamicmethodmatcherpointcut: Dynamic method Matching. is an abstract class that extends the class to implement its own dynamic Pointcut.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.