title: Reference an Annotated Spring Component in an XML Bean Definition
body: <p>I am using an external library that requires that I configure it using an XML Bean definition; in the Bean definition I need to provide an external class with a Bean from my project. I am using spring annotations with component scanning. </p>
  
  <p>How do I reference my annotated Bean within the XML Bean Definition? </p>
  
  <p>Are there any alternatives to creating an XML Bean Definition?</p>
  
  <p><em><strong>Details:</strong> Spring 3.0.7</em></p>