Spring annotation

0 respostas
rogeriosantos77

Srs, digamos que eu queira usar o Spring annotation. Como eu represento o código <property name=" com annotation ?

&lt;bean id="idBeanX" class="br.com.BeanX" &gt; 

&lt;property name="sessionFactory"&gt; 
&lt;ref bean="idBeanY"/&gt; 
&lt;/property&gt; 

&lt;/bean&gt; 

&lt;bean id="idBeanY" class="br.com.BeanY" &gt; 

*** 
&lt;/bean&gt;
Criado 9 de março de 2009
Respostas 0
Participantes 1