title: GrailsApplication src/classes
body: <p>According to Grails API, we can retrieve all domain classes definition through GrailsApplication as such</p>
  
  <pre><code>import org.codehaus.groovy.grails.commons.ApplicationHolder as AH   
   AH.application.domainClasses
  </code></pre>
  
  <p>I have classes defined under src/groovy and would like to do the same. I tried using the follwing code but in vain </p>
  
  <pre><code>    import org.codehaus.groovy.grails.commons.ApplicationHolder as AH   
   AH.application.allClasses
  </code></pre>
  
  <p>According to Grails API, call to getAllClasses should return all classes loaded by Grails class loader </p>
  
  <blockquote>
    <p>Class[]  getAllClasses()
              Retrieves all java.lang.Class instances loaded by the Grails class loader</p>
  </blockquote>
  
  <p>Am i missing something </p>