title: How do I access a bean outside of a controller in ColdFusion Model Glue 3?
body: <p>Model Glue 3 introduced bean injection, which allows you to do this in a controller to access it:</p>
  
  <pre><code>beans.component.function();
  </code></pre>
  
  <p>However, the <code>beans</code> scope is only available for a controller. How would I access a bean outside of a controller, for example in <code>Application.cfc</code> or a helper UDF? I have a <code>SimpleConfig</code> bean that I'd like to access some config info for.</p>