Package org.jvnet.hk2.internal
Class DelegatingClassLoader
java.lang.Object
java.lang.ClassLoader
org.jvnet.hk2.internal.DelegatingClassLoader
A classloader that delegates first to an optional parent and then to a delegate loader
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDelegatingClassLoader
(ClassLoader parent, ClassLoader... classLoaderDelegates) Constructor for special classloader to give to proxy making code -
Method Summary
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Field Details
-
delegates
-
-
Constructor Details
-
DelegatingClassLoader
DelegatingClassLoader(ClassLoader parent, ClassLoader... classLoaderDelegates) Constructor for special classloader to give to proxy making code- Parameters:
parent
- the java-style classloader parent of this loaderclassLoaderDelegates
- other classloaders to delegate to
-
-
Method Details
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
getResource
- Overrides:
getResource
in classClassLoader
-
toString
-