You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2007/02/03 02:49:14 UTC
svn commit: r502841 -
/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/LazyProxy.groovy
Author: jdillon
Date: Fri Feb 2 17:49:13 2007
New Revision: 502841
URL: http://svn.apache.org/viewvc?view=rev&rev=502841
Log:
Comments about what to do next
Modified:
geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/LazyProxy.groovy
Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/LazyProxy.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/LazyProxy.groovy?view=diff&rev=502841&r1=502840&r2=502841
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/LazyProxy.groovy (original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/LazyProxy.groovy Fri Feb 2 17:49:13 2007
@@ -39,6 +39,18 @@
// have the magic going on...
//
+ //
+ // TODO: Should probably make LazyProxy look like the target object's class
+ // for places where we need typing (if that is possible w/groovy)
+ // And might allow the type to be passed in to avoid needing to
+ // load the target if type information is needed
+ //
+
+ //
+ // TODO: May also want to expose a simple way to curry the factory
+ // from our constructor for easier usage for the lazy (like me)
+ //
+
private static final Log log = LogFactory.getLog(this)
private Closure factory