title: How does <property> tag in Spring Beans set the value for the private member?
body: <p>I have a "<strong>MyInterface</strong>" Interface as follows:  </p>
  
  <pre><code>public interface MyInterface {
      void showStatus();
      Map&lt;String,String&gt; getMembers();
  }
  </code></pre>
  
  <p>My <strong>"MyClass"</strong> class implements this interface and is as follows:  </p>
  
  <pre><code>public class MyClass implements MyInterface {
      private Map&lt;String,String&gt; members;
  
      public void setMembers(Map&lt;String, String&gt; members) {
         this.members = members;
      }
      public Map&lt;String, String&gt; getMembers() {
         return members;
      }
  }
  </code></pre>
  
  <p>In my beans file I have set the property tag as follows:  </p>
  
  <pre><code>&lt;property name="members"&gt;
      &lt;map&gt;
          &lt;entry key="key1" value="value1"&gt;&lt;/entry&gt;
      &lt;/map&gt;
  &lt;/property&gt;
  </code></pre>
  
  <p>How does Spring set the value of the <strong>members</strong> variable, even though the setter method is not defined in the interface?</p>