The Grails Framework 3.1.1

See the light - agile, industrial strength, rapid web application development made easy

(Quick Reference) # grailsApplication ## Purpose An instance of the GrailsApplication class. ## Examples
    class BookController {
        def list() {
            def bookClass = grailsApplication.classLoader.loadClass("Book")
            [book: bookClass.newInstance()]
        }
    }
## Description The `GrailsApplication` class provides information about the conventions within Grails and access to metadata, config and the ClassLoader | Quick Reference (hide)