title: How to access Grails configuration in Grails 2.0?
body: <p>I have obtained the latest Grails 2.0 milestone, and I am seeing a deprecation warning for the <code>ConfigurationHolder</code> class:</p>
  
  <pre><code>org.codehaus.groovy.grails.commons.ConfigurationHolder
  </code></pre>
  
  <p>The deprecation message simply says "Use dependency injection instead" which is not very helpful to me. I understand dependency injection, but how can I wire up a bean with the proper Grails configuration so I can access it at runtime?  I need to access the configuration from places other than my Controllers and Tags (such as <code>BootStrap</code>).  </p>