[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: re: Feedback requested on throttling ejb calls
kabir.khan@jboss.com
do-not-reply at jboss.com
Thu Nov 8 12:51:52 EST 2007
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
More information about the jboss-dev-forums
mailing list