From: Charlie G. <cha...@gm...> - 2006-08-15 15:06:07
|
I'm glad you're up and running, but something's not quite right here. dir(objectname) should still print out all of the methods and fields on the java object. What version of Jython are you running? Is there anything special about the com.ibm.ws.pmi.stat.StatsImpl class(ie is it in a servlet container or something rather than the regular classpath)? On 8/15/06, Aiello, Steve (GE, Corporate, consultant) <ste...@ge...> wrote: > > If I understand correctly, the PyInstance object is the > > Jython wrapper > > around the Java instance returned by getStatsObject and it > > will support > > the same methods and attributes that you would see from Java for the > > same object. In Jython you can print obj.__class__ to find > > the class of > > the wrapped Java object. > > > > Thank you. From your info I was able to find out that PyInstance was > being a wrapper for com.ibm.ws.pmi.stat.StatsImpl java object. I was > able to lookup what methods StatsImpl has, and everything is working out > well now. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |