Hello.
Problem is that there's definately lack of information in your post.
How do you apply @AspectJ advices ?
Via load-time/runtime weaving, wish asj compiler with Spring AOP or some  
other framework ?


25.07.08 в 15:43 Simon Faust в своём письме писал(а):

> 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=/



-- 
Best Regards
Evgeny K. Shepelyuk


-------------------------------------------------------------------------
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