title: Spring 4. does getBeanFromClass trigger bean's constructor for prototype beans?
body: <p>Spring 4. does getBeanFromClass() trigger bean's constructor for prototype beans?
  If so, we should be very careful about calling this function, right?
  In my code getBeanFromClass is something like this:</p>
  
  <pre><code>public static &lt;T&gt; T getBeanFromClass(Class&lt;T&gt; aBeanClass) throws BeansException {
          return getApplicationContext().getBean(aBeanClass);
      }
  </code></pre>
  
  <p>Thanks</p>