This must be possible but I can't work out how or see it in the docs.
I need to reference a bean which has been created via an annotation @Service and context:component-scan, within a spring xml config file.
How is this achieved?
Cheers
This must be possible but I can't work out how or see it in the docs.
I need to reference a bean which has been created via an annotation @Service and context:component-scan, within a spring xml config file.
How is this achieved?
Cheers
@Service("myService")
<property name="myProperty" ref="myService"/>