The Semaphore aspect could perhaps be configured with the list of group names and number
of permits per group. Then when encountering a annotated joinpoint, get the group id from
the annotation and use the correct semaphore for that.
The aspect could be configured via an attribute, or by using XMLLoadable. One problem with
this though is that you would have to redeploy the whole aspect to be able to reconfigure
it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103074#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...