Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] CFlow semantic and help

hello kevin
thanks  for the providing that code.


Kevin Viggers ha scritto:

Are a(),b() and c() occurring is separate threads?


In a first time, i would say no. What this would imply ?

In later development, the a(), b() and c() could be executed by different threads (because those are methods exported by three different interfaces of 3 distingued components), so there could be also the requiriment of catching that.

I read today a post in the aspectj-dev ml where a threadflow possible pointcut is under analysis to see if It can bee any usefull: in that case an InheritableThreadLocal flag can be used. i don't have any experience with that class, so i can't comment further, but do you agree with that flag approach ?

Valerio


Back to the top