Details
-
Bug
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Looking at the source code of the ScopedModelDriven Interceptor, I can see the following variables scoped at class level:
private String scope; private String name; private String className; private ObjectFactory objectFactory;
AFAIK, this means they're not thread safe, since different requests could override those variables altering the workflow of other threads.
Even if it's not that easy for it to happen, it seems just wrong.
And by the way, what's the problem on having those defined at method level, and settle things once and for all ?