|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader com.atlassian.confluence.util.ConfluenceUberClassLoader
public class ConfluenceUberClassLoader
This class loader tries to load classes from the application class loader first before delegating to the plugins class loader. This means this class loader can be used to load all classes available in the Confluence eco system.
Constructor Summary | |
---|---|
ConfluenceUberClassLoader()
|
Method Summary | |
---|---|
java.net.URL |
getResource(java.lang.String name)
|
java.util.Enumeration<java.net.URL> |
getResources(java.lang.String name)
|
java.lang.Class<?> |
loadClass(java.lang.String name)
|
void |
setPluginsClassLoader(java.lang.ClassLoader pluginsClassLoader)
|
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfluenceUberClassLoader()
Method Detail |
---|
public void setPluginsClassLoader(java.lang.ClassLoader pluginsClassLoader)
public java.lang.Class<?> loadClass(java.lang.String name) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public java.net.URL getResource(java.lang.String name)
getResource
in class java.lang.ClassLoader
public java.util.Enumeration<java.net.URL> getResources(java.lang.String name) throws java.io.IOException
getResources
in class java.lang.ClassLoader
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |