This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread 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?
 
It's not a secret anymore!