Sorry, I did not read through the entire thread to see that you had already removed the interface.

Josh Juneau
juneau001@gmail.com
http://jj-blogger.blogspot.com
http://www.jythonpodcast.com
Twitter ID:  javajuneau


On Wed, Nov 3, 2010 at 7:22 AM, Christian Blichmann <christian.blichmann@zynamics.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/03/2010 01:16 PM, Josh Juneau wrote:
> Try removing the PythonCallable interface from myscript.py.  It should
> work then.
> [...]
Sure, I tried that already. This was what I meant by "the only thing
that is not working for me is implementing a Java interface from Python" :-P

> If you plan to use object factories, then you will need to use the
> interface.  Otherwise, it is not necessary in order to use JSR-223.
>
Exactly. I need to implement a Java interface from Python, because the
application I'm maintaining features a plugin API where you implement a
few required methods and then register your plugin with a plugin
registry. So the application really needs to be able to call interface
methods on the Python object and vice versa.

> [...]

- --
Christian Blichmann

========================================================================
zynamics GmbH - Address: Grosse Beckstrasse 3, 44787 Bochum, Germany
             - Phone: +49 (234) 6 87 07 86 - Fax: +49 (234) 57 00 02 00
             - UstId: DE814229418 - Trade Register: HRB 9626
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJM0VQFAAoJEOF0gv4uh+kf0csIAJeqT2qsdhXY2Ap9kyuOQaoT
uBiybp6RDOukNdohxyHHEloKwKQv9H/x16hs+eHtD1rj03HrDyWCPM60VYhWpKE2
j7DcxgyRPyI4tD3AWvluKa6+Gsk/VOMGQNZFgqGpfFgW51iLX7w/jPb8k8OPFFZR
pJewhC6YF0NpSLYjJEkM7oW+TAGRO9bXzZ/T2UqeZEJG2opaYkmY+ISRxa7/HXSf
5FBNzCE0erIVAthhPJqU+OrWpJYWiFCWL90JuoRFJS8vzsbbOSVs0N3XWFbQMdwK
mO2BSoA3XUjRh5Gho8DOxFgxeLuuMi1gqFfASxf7xxsf2o6o7RlxxmEbWcgkfCE=
=luBQ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware,
phishing sites, and compromised hosts - saving your company time,
money, and embarrassment.   Learn More!
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users