I\'ve been trying to set up a custom classloader that intercepts classes to print out which classes are being loaded into the application. The classloader looks like this
<
You can use the PySystemState
object to specify a custom class loader before you instantiate the PythonInterpreter.
PySystemState state = new PySystemState();
state.setClassLoader(classLoader);
PythonInterpreter interp = new PythonInterpreter(table, state);
http://wiki.python.org/jython/LearningJython