On Fri, Jul 1, 2011 at 3:53 AM, Pedro Aceves <mpowered...@gmail.com> wrote:
> Is it possible to aspect actionbeans with aspectJ?
>
> I'd like to annotate an actionbean class with a custom annotation like
> below:
[...]
>
> Code is for illustration purposes, but I think it gets my point across. I
> can get the aspects to work on non-actionbeans it just that I need it on an
> action bean.
>
> Is there a way of doing this?

With Stripes 1.5, your only options are to use either compile-time or
load-time weaving, in which case an ActionBean is a regular class and
can be advised seamlessly. With Stripes 1.6, since you'll be able to
instanciate the ActionBeans through Spring, you'll be able to use
Spring AOP as well.

Frank

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to