Hi all!
If I want to config a Dynamic Mbean via a XML file,all the metadata description in this XML file,how to do in spring?
Maybe there is a solution that create a new description XML file which be used to build a Dynamic Mbean Object that parse the XML file by myself.

################################################## ##
For example
the interface is like this
Code:
public interface ShowClient
{
public void setName();
public String getName();
public void ShowMeMoney();
}
In spring jmx we can use InterfaceBasedMBeanInfoAssembler to build the managed interface.

--------------------------------------------------------------------------

If spring jmx support XMBeans,we needn't write a interface ShowClient,we need config a XML file like this(maybe hava a better style)
Code:

<mbean name="ShowClient" description="ShowClient Service"

<constructor index="1">  
<parameter index="1" type="" value=""/>
<parameter index="2" type="" value=""/>
<constructor/>

 <attribute name="name"
    description="this is your name" type="java.lang.String"
    readable="true" writable="true" />

<operation name="ShowMeMoney"  description="showmeMoney" >
<parameter index="1" type="" value=""/>
<parameter index="2" type="" value=""/>
<return type="" value=""/>
<operation/>

 <notification name="Test"
    types="xxx.vvv.bbb.Type1"
    description="this is a test Notify" />
    
</mbean>
In this XML some element is option.

************************************************** *******

Now I want to say ,Spring jmx should work out a Standard XMBeans that we can use it build the Dynamic Mbean conveniently instead modify the interface file if we want to change the interface for client.
Thanks!!