Closeable
, AutoCloseable
public final class PluginClassLoader extends URLClassLoader
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
protected Class<?> |
findClass(String name) |
|
JavaPlugin |
getPlugin() |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
defineClass, defineClass
addURL, definePackage, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
public JavaPlugin getPlugin()
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class URLClassLoader
ClassNotFoundException
public void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
close
in class URLClassLoader
IOException
Copyright © 2020. All rights reserved.