From: Nicola de C. <nde...@rs...> - 2004-06-16 12:36:37
|
Hi all, Is it possible to get a reference to the intepreter in which my class is running ?? I would like, as for instance to develop a class that can display the variable available in the jython session. Thanks in advance Nicola |
From: Diez B. R. <de...@we...> - 2004-06-16 13:08:52
|
On Wednesday 16 June 2004 14:36, Nicola de Candussio wrote: > Hi all, > > > Is it possible to get a reference to the intepreter in which my class is > running ?? > I would like, as for instance to develop a class that can display the > variable available in the jython session. You can stuff a reference to the interpreter into a static java variable inside a well-known class. I don't know how obtain one if you are only running inside the jython command line tool, but if you invoke the interpreter from java itself, that is no problem. Diez |