I am sure about the RegexpMethodPointcutAdvisor , I have not been aware of regular expression as the word . Do you mean the following snippetQuote:
Originally Posted by gpoirier
can be replaced byQuote:
return new MethodMatcher() {
public boolean matches(Method arg0, Class arg1) {
if (arg0.getName().indexOf("meth") == 0)
return true;
return false;
}
RgdsQuote:
return new MethodMatcher() {
public boolean matches(Method arg0, Class arg1) {
//if (arg0.getName().indexOf("meth") == 0)
return true;
}
Vicky
