Re: Interceptor (Thread Safety)

2009-06-02 Thread Wes Wannemacher
On Tue, Jun 2, 2009 at 12:45 PM, ZeckoN wrote: > > If two copies of the same action is run at the same time parallelly (by ajax, > iframe, etc.) in the same session, possibly with different parameters, do > these actions call the same instance of an interceptor's intercept() method? > If this is t

Re: Interceptor (Thread Safety)

2009-06-02 Thread Dave Newton
ZeckoN wrote: public String intercept(ActionInvocation actionInvocation) throws Exception { .Do some pre work String result = actionInvocation.invoke(); .Do some after work return result; } Local variables aren't shared across method invocations. Dave