Can view the tutorials best in Google Chrome, Mozilla Firefox, Opera, higher version of Internet Explorer

NameMatchMethodPointcut Class In Spring AOP

Spring » On Sep 21, 2012 By Sivateja

NameMatchMethodPointcut class is going to verify whether the method names of a spring bean class are matching with the given criteria or not.  While configuring this pointcut class into xml, we use mappedName or mappedNames property of the class into xml file. This class is a predefined class, so we need to configure the class directly into xml file like..

Means the pointcut class identifies that setter methods of the bean class are eligible for getting advices.  If there is no commonalities in method names we can provide individual method names by configuring mappedNames property.

mappedNames is the collection type List :-), so we need <list>—-</list> element while configuring the collection, hmm some thing..

According to above configuration,  method names with method1, method2, method3 are only eligible to get advices, we will see the example in the next article, stay tuned.

By [ Java/J2EE Developer & Web Designer ]
Founder of - Indian, lives in United States. You can contact me at


One Response to “NameMatchMethodPointcut Class In Spring AOP”
  1. krishnakumar says:

    your website tutorial very its easily understand.i am beginning level its very useful for me .thank u very much…….


By posting your answer, you agree to our comments policy.
Most Recent Tutorials
Hibernate Recent Posts
Spring Recent Posts
Struts Recent Posts
Recomandded Links Current & UpComing Tutorials
Tutorials Online :
spring Hibernate struts Json Ajax Log4j Log4j
coreJava Servlets

UpComing :
JSP, Web Services [ In Progress ]
Java4s is optimized for learning java technologies, all the examples in this site are constantly reviewed to avoid errors. While using this site you agree to have read and accepted our terms of use and privacy policy
Especially i have prepared this blog by keeping fresher's in mind, however it will be very useful for real time developers too.

© 2014 Java4s All rights reserved. | strPro4Tut v(2.0) Theme designed by Team Java4s.