Yes, if I understand you correctly. Are you talking about the scope when you declare the aspect? Although, this scope is quite course-grained.
PER_VM - all share the same semaphore
PER_CLASS - all instances of a class share the same semaphore
PER_INSTANCE - each instance has the same semaphore
etc.
It might be worth allowing for an extra attribute on the annotations to declare a "group" or something to choose the semaphores?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103018#4103018
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103018