com.atlassian.plugin.classloader
Class MockClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by com.atlassian.plugin.classloader.MockClassLoader

public class MockClassLoader
extends ClassLoader


Constructor Summary
MockClassLoader()
           
 
Method Summary
protected  Class findClass(String className)
           
protected  URL findResource(String name)
           
protected  Enumeration<URL> findResources(String arg0)
           
 void register(String className, Class clazz)
           
 
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

MockClassLoader

public MockClassLoader()
Method Detail

findResource

protected URL findResource(String name)

findClass

protected Class findClass(String className)
                   throws ClassNotFoundException
Throws:
ClassNotFoundException

register

public void register(String className,
                     Class clazz)

findResources

protected Enumeration<URL> findResources(String arg0)
                                  throws IOException
Overrides:
findResources in class ClassLoader
Throws:
IOException


Copyright © 2013 Atlassian. All Rights Reserved.