Is it possible to aspect actionbeans with aspectJ?

I'd like to annotate an actionbean class with a custom annotation like
below:

@CheckSomething
class anActionbean
 {
}


I would then like to have an aspect like so:

@Aspect
class CheckSomethingAspect
{

@Joinpoint(" some join point")
public void blah()
{

}

@Before
public void doSomething(enclosigstatic part)
{
}

}

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?

Thanks in advance!
------------------------------------------------------------------------------
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