是否有MBeans的XSD文件

时间:2022-01-26 17:18:50

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.

我正在开发一个JMX项目,为了公开项目中所有MBean的MBean属性和操作,我想编写一个API。为此,我需要来自提供程序的具有适当命名空间的MBean xsd文件,以便我可以使用JAXB或XMLBeans为它们生成java类。我试过谷歌,但只能找到没有正确名称的DTD文件或非标准XSD文件。

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

是否有可以使用的标准XSD?谢谢。

1 个解决方案

#1


0  

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.

Apache Commons Modeler使用XML描述符来执行此操作。但是,它们没有实现模式,但它们确实有一个DTD,它应该可以转换为一个模式供您自己使用。

#1


0  

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.

Apache Commons Modeler使用XML描述符来执行此操作。但是,它们没有实现模式,但它们确实有一个DTD,它应该可以转换为一个模式供您自己使用。