|
That's true (about thread safety). I guess it's just that I usually
avoid this threading threats at an interceptor level (or at
least didn't needed it). In addition I never use DI to inject these. So
is more a matter of personal approach I guess. However, strictly to your original question, I guess is the Stripes owners need to clarify this. I was just scientifically curios about what you're trying to achieve :) IMHO instantiating new objects is default behavior unless mentioned other in the documentation. The fact that there is only one instance means that interceptors must be implemented thread safe. To answer your question: If a interceptor would be instantiated more than once they could be injected using a DI framework and they'd thread safe by default.On Wed, Jun 24, 2009 at 8:43 AM, Cosmin Marginean<[email protected]> wrote: |
------------------------------------------------------------------------------
_______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
