Knowledge question = no code, no error, no examples to reports.
I applied a joinpoint over method()
of ClassA
, and ClassA
is not a singleton. I create MyAspect
that handle this joinpoint.
Question: if there are 2 callers of ClassA.method()
, and callers works on 2 different threads (e.g. web requests ), AspectJ will run MyAspect
over the 2 different threads or in a single one ?
I think that AspectJ execute MyAspect
in the same thread of woven class (ClassA
in this case).