java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
de.grogra.pf.registry.PluginClassLoader
- All Implemented Interfaces:
TypeLoader
,Closeable
,AutoCloseable
- Direct Known Subclasses:
LibraryClassLoader
-
Method Summary
Modifier and TypeMethodDescriptionclassForName
(String name) protected final Class
getPluginResource
(String name) getResource
(String name) protected final Class
typeForName
(String name) Methods inherited from class java.net.URLClassLoader
addURL, close, definePackage, 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, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Method Details
-
getClassLoader
- Specified by:
getClassLoader
in interfaceTypeLoader
-
typeForName
- Specified by:
typeForName
in interfaceTypeLoader
- Throws:
ClassNotFoundException
-
classForName
- Specified by:
classForName
in interfaceTypeLoader
- Throws:
ClassNotFoundException
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
findClass
- Overrides:
findClass
in classURLClassLoader
- Throws:
ClassNotFoundException
-
getResource
- Overrides:
getResource
in classClassLoader
-
getPluginResource
-
getPluginDescriptor
-