title: Spring use @Autowired field not in @Component
body: <p>I Have a case in my app, that i need to use the object <code>AccountsDao accountsDao</code></p>
  
  <pre><code>public class Account {
  
      @Autowired
      private AccountsDao accountsDao;
  </code></pre>
  
  <p>without putting an attribute <code>@Component</code> to <code>Account</code> class(and without any other method to mark it as a spring bean).</p>
  
  <p>The app is huge, and there is an objective reason why <code>Account</code> must not be a Spring Bean and must be initialized manually. </p>
  
  <p>I also know that this is a single case, and the common structure is OK.</p>
  
  <p><strong>Is there a way to do that?</strong></p>