org.bukkit.plugin.java
Class PluginClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.bukkit.plugin.java.PluginClassLoader
public class PluginClassLoader
- extends URLClassLoader
A ClassLoader for plugins, to allow shared classes across multiple plugins
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginClassLoader
@Deprecated
public PluginClassLoader(JavaPluginLoader loader,
URL[] urls,
ClassLoader parent)
- Deprecated.
- Internal class not intended to be exposed
addURL
public void addURL(URL url)
- Overrides:
addURL
in class URLClassLoader
findClass
protected Class<?> findClass(String name)
throws ClassNotFoundException
- Overrides:
findClass
in class URLClassLoader
- Throws:
ClassNotFoundException
findClass
@Deprecated
protected Class<?> findClass(String name,
boolean checkGlobal)
throws ClassNotFoundException
- Deprecated. Internal method that wasn't intended to be exposed
- Throws:
ClassNotFoundException
getClasses
@Deprecated
public Set<String> getClasses()
- Deprecated. Internal method that wasn't intended to be exposed
Copyright © 2013. All Rights Reserved.