how to generate JMX MXBean compatible java class model from JAXB?
- by yucubby
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