title: Using class.forname but want to autowire members of the target class
body: <p>I have this requirement,</p>
  
  <p>My framework is in a way that it reads the class name from the configuration file as a string and I would like to use methods inside that class.</p>
  
  <p>Obvious solution is to use reflection,
  I have used reflection and able to call methods I wanted, but the problem is the variables inside the target class are not autowired. I understand I am not letting spring to autowire the fields by using reflection (<a href="https://stackoverflow.com/questions/6543620/spring-with-class-forname">Spring with class.forname()</a>). </p>
  
  <p>Is there a way for me to autowire the class variables instead of creating new instance? Or Am I in a deadlock situation? </p>