Thanks for reply.
Actually this test
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_AOP_1_5/aop/src/re...
is not for the case I was asking about.
In this test interceptor intercepts methods with with parameter that have an annotation on
its type.
But I would like to intercept methods with annotation on method parameter itself.
Something like this:
void someMethod(@NotNull String message) {
| ...
| }
Here annotation is not on the type of parameter, but on the parameter itself.
Such annotations are possible and are sometimes used, for example in Spring MVC 2.5 for
mapping request parameters to method parameters:
http://static.springframework.org/spring/docs/2.5.x/reference/mvc.html#mv...
Regards
Jarek
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221667#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...