You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Frans Thamura <fr...@meruvian.org> on 2009/10/21 03:43:54 UTC

interceptor and AOP

hi there

just have an idea to make interceptor become AOP,

i am using spring and there is aspectj inside,

any idea to make both united?


only one,

i did chat with patrick lightbody, the interceptor is look like AOP,
but only execute(),

Frans

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: interceptor and AOP

Posted by Paweł Wielgus <po...@gmail.com>.
Hi Frans,
interceptor is AOP,
but when aspectj is crosscutting java code,
interceptor is crosscutting action flow (any one who is wiser should
correct me here).
I use interceptor for authentication,
my interceptor (authentication aspect) is catching all requests (before)
and is doing authentication, then if credetentials are ok it is
performing desired action,
or if it's not, it is presenting login page (around).
There is also a posibility to register after action interceptor which
is equivalent to after.

Best greetings,
Paweł Wielgus.


2009/10/21 Frans Thamura <fr...@meruvian.org>:
> hi there
>
> just have an idea to make interceptor become AOP,
>
> i am using spring and there is aspectj inside,
>
> any idea to make both united?
>
>
> only one,
>
> i did chat with patrick lightbody, the interceptor is look like AOP,
> but only execute(),
>
> Frans
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org