Archive for December 9th, 2009
Groovy @Delegate annotation
Groovy 1.7 provides some nice new annotations. One of those annotations is the @Delegate. What it essentially does, is providing the methods of the Delegate to the class using the Delegate. This is best explained by a small example: This works really nice. The Manager now delegates the call for doWork() to the Employee. This [...]
Read Full Post | Make a Comment ( 4 so far )

