Hi everybody,

I've got some issues getting aspects on Action methods to work. My setup
contains an (aspectJ) aspect like this:

@Aspect
public class MyAspect {
   @Around(value="@annotation( myAnnotation)"
   public Object doSomeThing(ProceedingJoinPoint pjp) {
      ...
   }
}

MyAnnotation look like this:

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface MyAnnotation {}

So, what I want to do is to run MyAspect on all methods that are annotated
with MyAnnotation. That works fine for everything in the service layer, but
for some reasons it does not work on annotated Action Bean methods. Any clue
what might be the problem? Many thanks in advance.

Cheers, Simon


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to