title: @Autowired any method name with any number of arguments
body: <p>I am trying to annotate a set method as follows:</p>
  
  <pre><code>package com.spring.examples;
  public class MyBean
  {
      private String name;
      private int age;
  
      @Autowired
      public void set(String name, int age)
      {
         this.name = name;
         this.age = age;
      }
  }
  </code></pre>
  
  <p>the config file:</p>
  
  <pre><code>&lt;bean id="myBean" class="com.spring.examples.MyBean"&gt;
      &lt;property name="name" value="Marie" /&gt;
      &lt;property name="age" value="101" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>I got this error:</p>
  
  <blockquote>
    <p>No qualifying bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies</p>
  </blockquote>
  
  <p>How can I configure this bean to properly call the <code>set</code> method?</p>