Jan 21st, 2008, 06:40 PM
Exporting and naming interceptors?
I have some AOP interceptors that I'd like to export. For example, performance monitors, concurrency throttles, etc. I'd like to make these available in JMX.
Is there anyway I can export these simply? It seems like I could make an AspectJ-style POJO interceptor, annotate it with @ManagedResource annotations, and then it should work.
But how to control the bean name? Let's say my concurrency throttle is applied to 5 difference services. How would I distinguish them in the JMX console?