Echo Spring beans names in doWithApplicationContext for debug purposes

In a Grails plugin doWithApplicationContext closure you may find it useful to see what Spring beans have been built by you doWithSpring closure.


applicationContext.beanDefinitionNames.each {
println "Spring Bean: " + it
}

0 comments: