From: Sherrell, D. <dsh...@ad...> - 2010-02-16 17:01:36
|
Hello, I am fairly new to java/jython integration so please be patient. I followed the jython factory examples to use the interpreter to call my jython objects and all is well until I need to access a user defined object in jython from java. The examples that I have seen use simple types in the interfaces...i need to access a complex data type. How do I access a user defined type - defined in the jython module - in my java app? So if my interface looked something like: public interface AFE_ClientInterface { public int messageId(); public String clientName(); public NetworkDefinition getNetworkDefinition(); .... .... public void shutDown(); } How do I translate the jython NetworkDefinition object into one that java can understand? Thanks, Dana |