org.bukkit.plugin.java
Class PluginClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by org.bukkit.plugin.java.PluginClassLoader

public class PluginClassLoader
extends URLClassLoader

A ClassLoader for plugins, to allow shared classes across multiple plugins


Constructor Summary
PluginClassLoader(JavaPluginLoader loader, URL[] urls, ClassLoader parent)
          Deprecated. 
 
Method Summary
 void addURL(URL url)
           
protected  Class<?> findClass(String name)
           
protected  Class<?> findClass(String name, boolean checkGlobal)
          Deprecated. Internal method that wasn't intended to be exposed
 Set<String> getClasses()
          Deprecated. Internal method that wasn't intended to be exposed
 
Methods inherited from class java.net.URLClassLoader
definePackage, findResource, findResources, getPermissions, 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, 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
 

Constructor Detail

PluginClassLoader

@Deprecated
public PluginClassLoader(JavaPluginLoader loader,
                                    URL[] urls,
                                    ClassLoader parent)
Deprecated. 

Internal class not intended to be exposed

Method Detail

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.