I've created my own MBean which has an operation. Inside the JMX console i can invoke the operation but I can't seem to set ParamDescription. It always says (no description). I've added JavaDoc to the method and to the interface and neither seems to help.
The JMX-Console generates
<form method="post" action="HtmlAdaptor"> <input name="action" value="invokeOp" type="hidden"> <input name="name" value="AtTaskMonitoring:type=AtTaskStats" type="hidden"> <input name="methodIndex" value="1" type="hidden"> <hr align="left" width="80"> <h4>java.util.Map getAggregateActiveCustomers()</h4> <p>MBean Operation.</p> <table border="1" cellpadding="2" cellspacing="2"> <tbody><tr class="OperationHeader"> <th>Param</th> <th>ParamType</th> <th>ParamValue</th> <th>ParamDescription</th> </tr> <tr> <td>p1</td> <td>java.lang.String</td> <td> <input name="arg0" type="text"> </td> <td>(no description)</td> </tr> <tr> <td>p2</td> <td>java.lang.String</td> <td> <input name="arg1" type="text"> </td> <td>(no description)</td> </tr> </tbody></table> <input value="Invoke" type="submit"> </form>
You can 'xmbean'ize your mbean (add an extra xmbean descriptor).
It must be in the FAQ.