1 Reply Latest reply on Aug 16, 2007 12:39 PM by Dimitris Andreadis

    How do you populate the ParamDescription for an MBean operat

    Eric Neilsen Newbie

      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">
       <td> <input name="arg0" type="text"> </td>
       <td>(no description)</td>
       <td> <input name="arg1" type="text"> </td>
       <td>(no description)</td>
       <input value="Invoke" type="submit">

      You can see (no description) in the html code. How do I set that description?