Package org.nuxeo.runtime.tomcat.dev
Class LocalURLClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.nuxeo.runtime.tomcat.dev.LocalURLClassLoader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,LocalClassLoader
- Author:
- Bogdan Stefanescu
-
Constructor Summary
ConstructorDescriptionLocalURLClassLoader
(ClassLoader parent) LocalURLClassLoader
(URL[] urls, ClassLoader parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getLocalResource
(String name) getLocalResources
(String name) Class<?>
loadLocalClass
(String name, boolean resolve) Methods inherited from class java.net.URLClassLoader
close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.tomcat.dev.LocalClassLoader
loadClass
-
Constructor Details
-
LocalURLClassLoader
-
LocalURLClassLoader
-
-
Method Details
-
addURL
- Specified by:
addURL
in interfaceLocalClassLoader
- Overrides:
addURL
in classURLClassLoader
-
loadLocalClass
- Specified by:
loadLocalClass
in interfaceLocalClassLoader
- Throws:
ClassNotFoundException
-
getLocalResource
- Specified by:
getLocalResource
in interfaceLocalClassLoader
-
getLocalResources
- Specified by:
getLocalResources
in interfaceLocalClassLoader
- Throws:
IOException
-
getLocalResourceAsStream
- Specified by:
getLocalResourceAsStream
in interfaceLocalClassLoader
- Throws:
IOException
-