I'm working on a project that is using Jython and
that Jython code is making calls to a Java based API. One of the API calls that
I need to work with requires that I pass in an object that implements a specific
interface. If I use an actual Java object that implements that interface it
works fine, but I need to be able to do this with a Python/Jython object.
Is there any way to make a Jython object implement
a Java interface?
I tried making just a class that contained the
needed methods, but I get back a TypeError: setSequenceCallback(): 1st arg can't
be coerced to (the name of the interface here).