title: get a bean instance inside a non managed spring class if I am retrieving it through ApplicationContext getBean method
body: <p>I know I can not use @Autowired annotation in a non managed spring class. But I notice I do able to get a bean instance inside a non managed spring class if I am retrieving it through ApplicationContext getBean method.
  can someone explain me why is that ? what is the different between the options ? in both spring doesn't know the non managed class</p>