The org.jboss.aspects.concurrent Semaphore aspect does what I had in mind.
I would also like a way to share the Semaphore instances (used internally by the Semaphore
aspect) between multiple components. For example, I might want immutable application
components to share a named Semaphore that has 64 permits and mutable components to share
a named Semaphore that has 8 permits.
Sound like a good enhancement?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102188#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...