You 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 Java4s.com. You can contact me at sivateja [at] java4s.com


Comments

2 Responses to “NameMatchMethodPointcut Class In Spring AOP”
  1. krishnakumar says:

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

  2. sanjeev says:

    sir, waiting for the next article…
    examples on pointcut

Name*
Mail*
Website



By posting your answer, you agree to our comments policy.
So, What would you like to learn today?
Browse these popular technologies
Hibernate spring struts Servlets ajax Log4j jQuery Json Core Java Web Services AngularJs

Most Recent Tutorials
Hibernate Recent Posts
Spring Recent Posts
Struts Recent Posts
Recomandded Links
Current & UpComing Tutorials
Sitemap :
spring Hibernate struts Json Ajax Log4j Log4j coreJava Servlets Web Services


Upcoming
  Web Services [ SOAP ], JSP
Facebook_Java4s  Twitter_Java4s  GooglePlus_Java4s  Youtube_Java4s 
© 2010 - 2014 Java4s - Get It Yourself.
The content is copyrighted to Sivateja Kandula and may not be reproduced on other websites.