Class ExtensionClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
com.booksaw.betterTeams.extension.ExtensionClassLoader
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionClassLoader(File jar, ClassLoader parent, ExtensionInfo info, ExtensionManager manager) -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?> Class<?> findClassInJar(String name) Helper method to expose the protected findClass from URLClassLoader strictly for looking inside that specific JAR.getLocalResource(String name) Methods inherited from class java.net.URLClassLoader
addURL, close, definePackage, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstanceMethods inherited from class java.security.SecureClassLoader
defineClass, defineClassMethods 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
-
Constructor Details
-
ExtensionClassLoader
public ExtensionClassLoader(File jar, ClassLoader parent, ExtensionInfo info, ExtensionManager manager) throws MalformedURLException - Throws:
MalformedURLException
-
-
Method Details
-
findClass
- Overrides:
findClassin classURLClassLoader- Throws:
ClassNotFoundException
-
findClassInJar
Helper method to expose the protected findClass from URLClassLoader strictly for looking inside that specific JAR.- Throws:
ClassNotFoundException
-
getLocalResource
-