title: How to find out what exactly does Spring autowire?
body: <p>I have a large Spring 2.x-based application with a couple of hundreds of <code>applicationContext.xml</code> files and several thousands beans/bean factories.</p>
  
  <p>Most of these XML configurations say something like <code>default-autowire="byName"</code>, effectively turning on the autowiring, but only a fraction of beans is actually autowired. Most of the bean properties are set explicitly.</p>
  
  <p>(This is to <em>historical</em> reasons, I guess that's how you call it when you were not clever enough in the past.)</p>
  
  <p>Now we would like to remove autowiring at all. We believe that only a small fraction of beans is actually autowired - but we do not know, what and were exactly. My question is:</p>
  
  <p><strong>How can we find out what and were exactly is autowired by Spring?</strong></p>
  
  <p>Ideally, we need to get a list of beans/properties so that we could inject these explicitly in out XML configurations. But before diving into Spring internals with a debugger, I decided to ask if someone on SF has maybe already solved a similar task.</p>
  
  <p><em>ps. I don't have an intention to discuss whether autowiring is good or bad. We have a number of internal technical reasons to remove autowiring, that's all.</em></p>