*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What does @AutoWired annotaion mean?