title: Spring bean initialization with multiple-arg method
body: <p>I would like to create the following Spring bean (a JMX monitor) which has a method    <em>setThresholds(Number highThreshold,Number lowThreshold)</em>.</p>
  
  <p>Could I invoke the method (with two arguments) in the configuration? I don't want to write codes to invoke it.</p>
  
  <pre><code>&lt;bean id="myMonitor" class="javax.management.monitor.GaugeMonitor" init-method="start"&gt;
    &lt;property name="observedObject"&gt;
      &lt;bean class="javax.management.ObjectName"&gt;
        &lt;constructor-arg value="test.jmx:name=testBean1" /&gt;
      &lt;/bean&gt;
    &lt;/property&gt;
    &lt;property name="observedAttribute" value="testProperty" /&gt;
    &lt;property name="granularityPeriod"&gt;
      &lt;bean class="java.lang.Float"&gt;
        &lt;constructor-arg value="1000" /&gt;
      &lt;/bean&gt;
    &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>