| java.lang.Object com.caucho.loader.enhancer.EnhancerFixup
EnhancerFixup | public class EnhancerFixup (Code) | | Class loader which checks for changes in class files and automatically
picks up new jars.
DynamicClassLoaders can be chained creating one virtual class loader.
From the perspective of the JDK, it's all one classloader. Internally,
the class loader chain searches like a classpath.
|
Method Summary | |
public void | addEnhancer(ClassEnhancer enhancer) Adds a class enhancer. | protected void | cleanExtConstantPool(String className, JavaClass extClass) | protected void | fixup(String className, String extClassName) | public JavaClassLoader | getJavaClassLoader() Returns the parsed class loader. | final public Path | getPostWorkPath() Gets the work path. | final public Path | getPreWorkPath() Gets the work path. | public Path | getWorkPath() Gets the work path. | protected void | mergeClasses(String className, Path targetPath, Path sourcePath, Path extPath) Merges the two classes. | protected void | mergeClasses(String className, Path targetPath, Path extPath) Merges the two classes. | protected void | mergeClasses(String className, JavaClass baseClass, JavaClass extClass) Merges the two classes. | protected void | postEnhance(JavaClass baseClass) After enhancement fixup. | protected void | renameExtSuperMethods(String className, JavaClass baseClass, JavaClass extClass) | protected void | renameSubClass(String className, Path targetPath, Path extPath) Merges the two classes. | public void | setClassLoader(DynamicClassLoader loader) Sets the class loader. | public void | setJavaClassLoader(JavaClassLoader jClassLoader) Returns the parsed class loader. | public void | setWorkPath(Path workPath) Sets the work path. |
cleanExtConstantPool | protected void cleanExtConstantPool(String className, JavaClass extClass) throws Exception(Code) | | Cleans the ext constant pool, renaming
|
getPostWorkPath | final public Path getPostWorkPath()(Code) | | Gets the work path.
|
getPreWorkPath | final public Path getPreWorkPath()(Code) | | Gets the work path.
|
getWorkPath | public Path getWorkPath()(Code) | | Gets the work path.
|
mergeClasses | protected void mergeClasses(String className, Path targetPath, Path sourcePath, Path extPath) throws Exception(Code) | | Merges the two classes.
|
mergeClasses | protected void mergeClasses(String className, Path targetPath, Path extPath) throws Exception(Code) | | Merges the two classes.
|
renameSubClass | protected void renameSubClass(String className, Path targetPath, Path extPath) throws Exception(Code) | | Merges the two classes.
|
setJavaClassLoader | public void setJavaClassLoader(JavaClassLoader jClassLoader)(Code) | | Returns the parsed class loader.
|
setWorkPath | public void setWorkPath(Path workPath)(Code) | | Sets the work path.
|
|
|