struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: Interceptors and thread-safety
Date Tue, 17 Apr 2007 02:56:26 GMT
Dave Newton wrote:
> --- Laurie Harper <laurie@holoweb.net> wrote:
>> Shahak Nagiel wrote:
>>> So, how can these [interceptors] be thread-safe if 
>>> new Interceptors aren't being instantiated for
> every
>>> request?
>> Because the parameters don't come from (or vary
>> with) the request. 
> 
> Just to add on/clarify a little bit, this also implies
> that if you configure an interceptor for a specific
> action that an instance is created for that action,
> yes?

I don't know the answer to that, but I would expect it to work that 
way... I would guess there will be one interceptor instance for each 
interceptor config.

L.


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


Mime
View raw message