I only work Aspects with Spring, so possibly this isn't your case, but in Spring only that classes that are managed with the Spring Framework are able to have aspects.
In Stripes the ActionBeans aren't managed with Spring sfaust wrote: > > 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 > > -- View this message in context: http://www.nabble.com/Configuring-aspects-on-ActionBean-methods-tp18651020p18667477.html Sent from the stripes-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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