Try to add the java package.
This is handy in cases where the package scan cannot run, or when the initial classpath does not contain all .jar
files (such as in J2EE containers).
There is some self-healing in the sense that a correct, explicit import of a java class will succeed even if
sys.modules already contains a Py.None entry for the corresponding java package.
Parameters: packageName - The dotted name of the java package Parameters: fromlist - A tuple with the from names to import. Can be null or empty. true if a java package was doubtlessly identified and added, false otherwise. |