Class DynamicClassLoader
java.lang.Object
java.lang.ClassLoader
org.springframework.aot.test.generate.compile.DynamicClassLoader
ClassLoader
used to expose dynamically generated content.- Since:
- 6.0
- Author:
- Phillip Webb, Andy Wilkinson
-
Constructor Summary
ConstructorDescriptionDynamicClassLoader
(ClassLoader parent, ResourceFiles resourceFiles, Map<String, org.springframework.aot.test.generate.compile.DynamicClassFileObject> classFiles) -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?>
protected URL
findResource
(String name) protected Enumeration<URL>
findResources
(String name) 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, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
DynamicClassLoader
public DynamicClassLoader(ClassLoader parent, ResourceFiles resourceFiles, Map<String, org.springframework.aot.test.generate.compile.DynamicClassFileObject> classFiles)
-
-
Method Details
-
findClass
- Overrides:
findClass
in classClassLoader
- Throws:
ClassNotFoundException
-
findResources
- Overrides:
findResources
in classClassLoader
- Throws:
IOException
-
findResource
- Overrides:
findResource
in classClassLoader
-