Announcement Announcement Module
No announcement yet.
Exporting and naming interceptors? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?