(Method m)
| 23 | Pattern p = Pattern.compile("a.*"); |
| 24 | |
| 25 | boolean matches(Method m){ |
| 26 | Matcher matcher = p.matcher(m.getName()); |
| 27 | return matcher.matches(); |
| 28 | } |
| 29 | |
| 30 | void invoke(Method m, Object obj, Object... args) throws Exception { |
| 31 | if(m.getAnnotation(Transactional.class)!=null) |