public class ReloadingClassLoader extends ClassLoader
Constructor and Description |
---|
ReloadingClassLoader(ClassLoader pParent) |
Modifier and Type | Method and Description |
---|---|
void |
addResourceStore(ResourceStore store) |
void |
clearAssertionStatus() |
URL |
getResource(String name) |
InputStream |
getResourceAsStream(String name) |
Class<?> |
loadClass(String name) |
Class<?> |
loadClass(String name,
boolean resolve) |
void |
reload() |
boolean |
removeResourceStore(ResourceStore store) |
void |
setClassAssertionStatus(String className,
boolean enabled) |
void |
setDefaultAssertionStatus(boolean enabled) |
void |
setPackageAssertionStatus(String packageName,
boolean enabled) |
defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setSigners
public ReloadingClassLoader(ClassLoader pParent)
public void addResourceStore(ResourceStore store)
public boolean removeResourceStore(ResourceStore store)
public void reload()
public void clearAssertionStatus()
clearAssertionStatus
in class ClassLoader
public URL getResource(String name)
getResource
in class ClassLoader
public InputStream getResourceAsStream(String name)
getResourceAsStream
in class ClassLoader
public Class<?> loadClass(String name) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public void setClassAssertionStatus(String className, boolean enabled)
setClassAssertionStatus
in class ClassLoader
public void setDefaultAssertionStatus(boolean enabled)
setDefaultAssertionStatus
in class ClassLoader
public void setPackageAssertionStatus(String packageName, boolean enabled)
setPackageAssertionStatus
in class ClassLoader
Copyright © 2015 Nuxeo SA. All rights reserved.