This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 14672
    
  11

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: What does @AutoWired annotaion mean?
 
Similar Threads
AbstractTransactionalSpringContextTests lazy loading beans
dependency injection by annotations
@Autowired
@Autowired and Static methods
expected single match bean but found two exception