title: Set property Map<Object, Class<?>> into spring.xml
body: <p>In my class I have this setter </p>
  
  <pre><code>public void setSomehing(Map&lt;Object, Class&lt;?&gt;&gt;  beans){
  ...
  }
  </code></pre>
  
  <p><code>Object</code> is some bean, and <code>Class</code> is it's interface.
  I try more combination but I always got </p>
  
  <blockquote>
    <p><code>cvc-complex-type.2.3:</code> Element 'map' cannot have character [children], because the type's content type is element-only.</p>
  </blockquote>
  
  <p>Some of combination is: </p>
  
  <pre><code>&lt;bean id="rmiServerBeanFactory" class="org.infobip.spring.remoting.server.StandaloneCompositeRmiServerBeanFactory"&gt;
          &lt;property name="something"&gt;
                 &lt;map&gt;
                   &lt;entry key-ref="myBean" value="org.mypackage.MyBeanInterface"/&gt;
               &lt;/map&gt;
          &lt;/property&gt;
        &lt;/bean&gt;
  </code></pre>
  
  <p>Please help. how to set this in spring.xml?</p>