Search code examples
javaxsdjmxmbeans

Is there a XSD file for MBeans


I am working on a JMX project and for the purpose of exposing the MBean's attributes and Operations of all the MBeans in my project, I wanted to write an API. For this I needed MBean xsd file with proper namespaces from the provider so that I can use JAXB or XMLBeans to generate java classes for them. I tried google but could only find DTD files or non-standard XSD file without proper namesapces.

Is there a standard XSD available which I can use? Thanks.


Solution

  • Apache Commons Modeler uses an XML descriptor to do this. However, they do not implement a schema, but they do have a DTD, which should be convertible to a schema for your own uses.