title: can spring container XML config reference use another bean'property
body: <p>Here I am writing a  spring application, here I want to do is like this:</p>
  
  <pre><code>   &lt;bean id="sqlClient"  class="com.braoda.dao.sqclient.SqlclientWapper"&gt;
      &lt;property name="dataSource" ref="dataSource"/&gt;
    &lt;/bean&gt;
  
  &lt;bean id="userDao" class="com.braoda.dao.user.UserDaoImpl"&gt;
    &lt;property name="sqlSession" ref="***sqlClient.SqlSessionFactoryBean***" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>As the code like, I want use the spring Xml property config from "ref", but "ref" is not a    bean but a bean's property.
    is this illegal in spring or we can not use spring like this. </p>