how to generate JMX MXBean compatible java class model from JAXB?

Posted by yucubby on Stack Overflow See other posts from Stack Overflow or by yucubby
Published on 2010-06-11T07:54:00Z Indexed on 2010/06/11 8:13 UTC
Read the original article Hit count: 182

Filed under:
|

From the JMX MXBean specification, a java class type J must satisfy

Either if J has at least one public constructor with a ConstructorProperties annotation, Or if J has a public no-arg constructor, and for every getter in J with type T and name N there is a corresponding setter with the same name and type

So how can I use JAXB to generate JAVA class model which satisfy the MXBean constrain?

Thanks YU

© Stack Overflow or respective owner

Related posts about jaxb

Related posts about jmx