This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
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


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: 14688
    
  16

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


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What does @AutoWired annotaion mean?