[jboss-user] [Management, JMX/JBoss] - How do you populate the ParamDescription for an MBean operat
eric@attask.com
do-not-reply at jboss.com
Wed Aug 15 18:42:55 EDT 2007
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 see (no description) in the html code. How do I set that description?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074604#4074604
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074604
More information about the jboss-user
mailing list