Re: Spring Groovy application context and creating @Immutable class beans

2016-04-25 Thread Mario Garcia
You're welcome :) On 25 Apr 2016 20:05, "Rick Venutolo" wrote: > I had not thought to use that constructor. Thank you! > > On Mon, Apr 25, 2016 at 5:01 AM, Mario Garcia > wrote: > >> Although I think It should be better to discuss this in the Grails >> mailing list (they sure have much more expe

Re: Spring Groovy application context and creating @Immutable class beans

2016-04-25 Thread Rick Venutolo
I had not thought to use that constructor. Thank you! On Mon, Apr 25, 2016 at 5:01 AM, Mario Garcia wrote: > Although I think It should be better to discuss this in the Grails mailing > list (they sure have much more experience in Spring+Groovy) I have done a > little test in a Grails app with a

Re: Spring Groovy application context and creating @Immutable class beans

2016-04-25 Thread Mario Garcia
Although I think It should be better to discuss this in the Grails mailing list (they sure have much more experience in Spring+Groovy) I have done a little test in a Grails app with an immutable (@Immutable) bean: package a.b.c @Immutable class Pagination { Integer max } myBean(a.b.c.Paginati

Spring Groovy application context and creating @Immutable class beans

2016-04-11 Thread Rick Venutolo
Hi all, As a fun learning experience I am attempting to move an application's Spring configuration from XML to Groovy. I need to create a bean for a Groovy class that is annotated with @Immutable. Let's say my class is this: @Immutable class MyImmutableClass { String someString String ot