wood burning stoves 2.0*
The moose likes Spring and the fly likes What does @AutoWired annotaion mean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "What does @AutoWired annotaion mean?" Watch "What does @AutoWired annotaion mean?" New topic
Author

What does @AutoWired annotaion mean?

Anupam Dee
Ranch Hand

Joined: Oct 18, 2010
Posts: 42

I am really unable to understand what the @AutoWired annotaion mean.
PLease explain with an example
eg this code
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

This is explained here. It allows you to let Spring make the dependencies implicitly.


[My Blog]
All roads lead to JavaRanch
 
wood burning stoves
 
subject: What does @AutoWired annotaion mean?
 
Similar Threads
expected single match bean but found two exception
AbstractTransactionalSpringContextTests lazy loading beans
dependency injection by annotations
@Autowired and Static methods
@Autowired