Package org.nuxeo.ecm.webengine.loader
Class ReloadingClassLoader
java.lang.Object
java.lang.ClassLoader
org.nuxeo.ecm.webengine.loader.ReloadingClassLoader
- Author:
- Bogdan Stefanescu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResourceStore
(ResourceStore store) void
getResource
(String name) getResourceAsStream
(String name) Class<?>
Class<?>
void
reload()
boolean
removeResourceStore
(ResourceStore store) void
setClassAssertionStatus
(String className, boolean enabled) void
setDefaultAssertionStatus
(boolean enabled) void
setPackageAssertionStatus
(String packageName, boolean enabled) Methods inherited from class java.lang.ClassLoader
defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, registerAsParallelCapable, resolveClass, resources, setSigners
-
Constructor Details
-
ReloadingClassLoader
-
-
Method Details
-
addResourceStore
-
removeResourceStore
-
reload
public void reload() -
clearAssertionStatus
public void clearAssertionStatus()- Overrides:
clearAssertionStatus
in classClassLoader
-
getResource
- Overrides:
getResource
in classClassLoader
-
getResourceAsStream
- Overrides:
getResourceAsStream
in classClassLoader
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
setClassAssertionStatus
- Overrides:
setClassAssertionStatus
in classClassLoader
-
setDefaultAssertionStatus
public void setDefaultAssertionStatus(boolean enabled) - Overrides:
setDefaultAssertionStatus
in classClassLoader
-
setPackageAssertionStatus
- Overrides:
setPackageAssertionStatus
in classClassLoader
-