2

how do I configure autowire in spring

flybywire
  • 261,858
  • 191
  • 397
  • 503

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
  • 305,152
  • 44
  • 369
  • 561