这必须是可能的,但我无法弄清楚如何或在文档中看到它.
我需要在spring xml配置文件中引用通过注释@Service和context:component-scan创建的bean.
这是如何实现的?
干杯
@Service("myService")<property name="myProperty" ref="myService"/>| 归档时间: |
|
| 查看次数: |
2114 次 |
| 最近记录: |