|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
com.caucho.loader.DynamicClassLoader
com.caucho.loader.EnvironmentClassLoader
com.caucho.loader.enhancer.EnhancingClassLoader
public class EnhancingClassLoader
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.
| Constructor Summary | |
|---|---|
EnhancingClassLoader()
Creates a new environment class loader. |
|
EnhancingClassLoader(java.lang.ClassLoader parent)
Creates a new environment class loader. |
|
| Method Summary | |
|---|---|
Path |
getPostWorkPath()
Gets the work path. |
Path |
getPreWorkPath()
Gets the work path. |
Path |
getWorkPath()
Gets the work path. |
void |
init()
Initialize the loader. |
void |
setWorkPath(Path workPath)
Sets the work path. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.loader.EnvironmentClassLoader |
|---|
addListener, addLoaderListener, addScanListener, addURL, buildImportClassPath, configureEnhancerEvent, create, create, create, create, destroy, findImportClass, getAdmin, getAttribute, getConfigException, getEnvironmentListeners, getLoaderListeners, getOsgiManager, getOwner, initEnvironment, initializeEnvironment, isActive, removeAttribute, removeListener, replace, scan, setAttribute, setConfigException, setOwner, start, stop, validate |
| Methods inherited from class java.net.URLClassLoader |
|---|
definePackage, findResource, newInstance, newInstance |
| Methods inherited from class java.security.SecureClassLoader |
|---|
defineClass, defineClass |
| Methods inherited from class java.lang.ClassLoader |
|---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnhancingClassLoader()
public EnhancingClassLoader(java.lang.ClassLoader parent)
| Method Detail |
|---|
public Path getWorkPath()
public void setWorkPath(Path workPath)
public final Path getPreWorkPath()
public final Path getPostWorkPath()
public void init()
init in class EnvironmentClassLoaderpublic java.lang.String toString()
toString in class EnvironmentClassLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||