Update of /cvsroot/jython/jython/org/python/core
In directory usw-pr-cvs1:/tmp/cvs-serv32679
Modified Files:
Loader.java
Log Message:
Added javadoc comments.
Index: Loader.java
===================================================================
RCS file: /cvsroot/jython/jython/org/python/core/Loader.java,v
retrieving revision 2.1
retrieving revision 2.2
diff -C2 -r2.1 -r2.2
*** Loader.java 2000/12/17 19:46:26 2.1
--- Loader.java 2001/02/25 16:39:48 2.2
***************
*** 2,7 ****
--- 2,22 ----
package org.python.core;
+ /**
+ * A common interface for bytecode loaders.
+ * Jython 2.0 have two loaders, a standard loader and a
+ * Java2 SecureClassLoader. Both loader implements this
+ * interface.
+ */
+
public interface Loader {
+ /**
+ * Turn java byte codes into a class.
+ */
public Class loadClassFromBytes(String name, byte[] data);
+
+ /**
+ * Add another classloader as a parent loader.
+ * Dependent classes will searched in these loaders.
+ */
public void addParent(ClassLoader referent);
}
|