Closed GoogleCodeExporter closed 9 years ago
Hey there,
hehe, you got me there, that is indeed not implemented yet. Its been on my TODO
list for a while, I had added the property already to the class a reminder, but
no time to implement yet.
I'll see what I can do for you this evening, it shouldn't be that much work to
implement. Bear with me :)
cheers,
Roland
Original comment by ihatelivelyids
on 11 Aug 2011 at 2:58
Cool, thanks. I'm cheating a bit for now to get it to work, since I'm only
dealing with the same constructor args being pasted to each instance, I'm just
using a static reference.
Original comment by jeff.ard...@gmail.com
on 11 Aug 2011 at 3:01
Hey there,
I have this working again, I think. Changes are available in the trunk as usual.
There's two ways of using the factoryMethodName property. If you just give it a
simple name:
factoryMethodName = "createPropertyValue";
It is assumed that this static method belongs to the same class as the property
that its initializing.
But you can also enter a fully qualified method name:
factoryMethodName = "com.myclasses.MyPropertyInitClass.createPropertyValue";
That way you can define a static method that already exists as well. I.e. not a
method that will be generated, but is normally compiled into your application.
Please confirm with me again if this works.
Thanks for the report again!
cheers,
Roland
Original comment by ihatelivelyids
on 11 Aug 2011 at 4:28
Works like a champ, thank you much!
Original comment by jeff.ard...@gmail.com
on 11 Aug 2011 at 6:33
great thanks for confirming!
Original comment by ihatelivelyids
on 11 Aug 2011 at 7:14
Original issue reported on code.google.com by
jeff.ard...@gmail.com
on 11 Aug 2011 at 12:53