2

how do I configure autowire in spring

flybywire
  • 247,088
  • 187
  • 391
  • 495

1 Answers1

11

Add the context schema to your configuration XML and use the @Autowired annotation:

http://static.springsource.org/spring/docs/2.5.x/reference/beans.html#beans-annotation-config

duffymo
  • 299,921
  • 44
  • 364
  • 552