Hello,
The dynamic MBean GeronimoMBean retrieves its MBeanInfo by using the GeronimoMBeanInfo of its adaptee.
By now, the adaptees define a static method in order to build and return their meta-data. The implementation of these static methods is error-prone (e.g. one must keep in sync the meta-data and the implementation).
As this meta-data can be configured via an XML file, one could mitigate this problem by defining a couple of XDoclet tags and a subtask in order to generate such an XML file.
I have submitted a patch, Geronimo-117, implementing this idea. More accurately, ConnectionManagerDeployment has been enhanced - the new tags @geronimo. have been inserted - and when XDoclet processes it, it creates a file name ConnectionManagerDeploymentMBeanInfo.xml.
Any concern?
Cheers, Gianny
_________________________________________________________________
From the hottest toys to tips on keeping fit this winter, you�ll find arange of helpful holiday info here. http://special.msn.com/network/happyholidays.armx
