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

    xmbean operation parameter default values

    Dirk Haase Newbie

      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
          Elias Ross Master

          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.