17 Jul 21:17
Re: [groovy-user] creating a new method inside invokeMethod
From: Jochen Theodorou <blackdrag@...>
Subject: Re: [groovy-user] creating a new method inside invokeMethod
Newsgroups: gmane.comp.lang.groovy.user
Date: 2008-07-17 19:17:37 GMT
Subject: Re: [groovy-user] creating a new method inside invokeMethod
Newsgroups: gmane.comp.lang.groovy.user
Date: 2008-07-17 19:17:37 GMT
Rubee schrieb:
> From the comments above, I gather that Jochen (aka "blackdrag") thinks
> that the most I should have to synchronize is this:
>
> synchronized(this) {
> Manager.metaClass."${name}" = { Object[] varArgs ->
> return delegateTo.invokeMethod(name, *varArgs)
> }
> }
>
> and Graeme thinks I don't even need that.
no, you misunderstood... I agree with Graeme.
bye blackdrag
--
--
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/
http://www.g2one.com/
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
RSS Feed