Grails – Is my bean a singleton?

May 6, 2014 at 12:50

How to discover which beans are available in Grails at runtime, and how to see the configuration of any of them.

Groovy – Simplest way of resolving a nested property

July 24, 2013 at 09:00

So let’s say that in Groovy you find yourself wanting to do something like this: [ ‘name’, ‘lastName’, ‘address.street’].collect { propertyToResolve -> [(propertyToResolve): user[property] } You will find that the automatic getter (using it with the map syntax or as a property doesn’t change anything) won’t parse the argument to […]