Package com.google.inject.internal
Class BytecodeGen.BridgeClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- com.google.inject.internal.BytecodeGen.BridgeClassLoader
-
- Enclosing class:
- BytecodeGen
private static class BytecodeGen.BridgeClassLoader extends java.lang.ClassLoader
Loader for Guice-generated classes. For referenced classes, this delegates to either either the user's classloader (which is the parent of this classloader) or Guice's class loader.
-
-
Constructor Summary
Constructors Constructor Description BridgeClassLoader()
BridgeClassLoader(java.lang.ClassLoader usersClassLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.Class<?>
classicLoadClass(java.lang.String name, boolean resolve)
protected java.lang.Class<?>
loadClass(java.lang.String name, boolean resolve)
-
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, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
Method Detail
-
loadClass
protected java.lang.Class<?> loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
- Overrides:
loadClass
in classjava.lang.ClassLoader
- Throws:
java.lang.ClassNotFoundException
-
classicLoadClass
java.lang.Class<?> classicLoadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
-