1 Reply Latest reply on Nov 1, 2006 2:25 AM by genman

    xmbean operation parameter default values

    drabbit

      Hi,

      I'm using jboss 4.0.2 and have an xmbean with some operations that I invoke from the jmx-console. For some method parameters, I'd like to have default values in the textfield to guide the user to the standard usage of the operation.

      Unfortunately, I can't find a way to do this. Is there a trick to it?

      Dirk

        • 1. Re: xmbean operation parameter default values
          genman

          The JMX console does display the MBeanOperationInfo, which is the name and description. Unfortunately, there's no way to specify the default values except by adding them in the description.

          Potentially, JBoss could extend MBeanParameterInfo and add a default value field, which would come from the XMBean XML. It's not likely difficult to do this. If you can get this to work, create a patch and JIRA issue and it will get added.