com.atlassian.confluence.util
Class ConfluenceUberClassLoader
java.lang.Object
java.lang.ClassLoader
com.atlassian.confluence.util.ConfluenceUberClassLoader
public class ConfluenceUberClassLoader
- extends ClassLoader
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.
| 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 |
ConfluenceUberClassLoader
public ConfluenceUberClassLoader()
setPluginsClassLoader
public void setPluginsClassLoader(ClassLoader pluginsClassLoader)
loadClass
public Class<?> loadClass(String name)
throws ClassNotFoundException
- Overrides:
loadClass in class ClassLoader
- Throws:
ClassNotFoundException
getResource
public URL getResource(String name)
- Overrides:
getResource in class ClassLoader
getResources
public Enumeration<URL> getResources(String name)
throws IOException
- Overrides:
getResources in class ClassLoader
- Throws:
IOException
Copyright © 2003-2013 Atlassian. All Rights Reserved.