public Class < ? > getClassForName ( String className ) { if ( ! StringUtils . hasText ( className ) ) { return null ; } for ( Class < ? > c : allClasses ) { if ( c . getName ( ) . equals ( className ) ) { return c ; } } return null ; }
Retrieves a class from the GrailsApplication for the given name .