From: Kent J. <ke...@td...> - 2004-08-27 15:41:43
|
> I presume you would like something akin to @sig support in Jythonc but in > the plain interpreter. > That would be a reasonable thing to add if properly designed. That would be a very helpful addition to Jython. It would solve more problems than just this one. Are you thinking about doing this? I wouldn't know where to start... > As workaround, notice that driving it with Jython itself with something > like jakarta BCEL you can likely generate Java interfaces _from some simple > description_ _on the fly_ to then mix-in, in probably a not unreasonable > amount of code. That might work for Spring. When the Jython bean is created, the list of properties it must support should be available. I could look at the setters defined in the Jython class and create an interface that defines them...the class would still need the actual set methods but maybe that's not so bad...or maybe I could generate them as well. Thanks for the ideas! Kent |