tags:

views:

49

answers:

1

Hello.
I need to expose about 60 operations in a 30 defferent classes to JMX.
Making it with DinamycMBean is a bit annoing.
I am looking for a fast and elegant way to do it.
I know that spring has a nice way with annotations but i am not using spring in this project.

Thanks

A: 

Have you seen the @MXBean annotation, it may be what you're after, and is part of Java 6.

Jon Freedman