Package com.atlassian.confluence.util
Class ConfluenceUberClassLoader
java.lang.Object
java.lang.ClassLoader
com.atlassian.confluence.util.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
-
Method Summary
Modifier and TypeMethodDescriptiongetResource
(String name) getResources
(String name) Class<?>
void
setConfluenceMonitoring
(ConfluenceMonitoring confluenceMonitoring) void
setPluginsClassLoader
(ClassLoader pluginsClassLoader) Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
ConfluenceUberClassLoader
public ConfluenceUberClassLoader()
-
-
Method Details
-
setPluginsClassLoader
-
setConfluenceMonitoring
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
getResource
- Overrides:
getResource
in classClassLoader
-
getResources
- Overrides:
getResources
in classClassLoader
- Throws:
IOException
-