Class MyClassLoader

  extended by java.lang.ClassLoader
      extended by
          extended by
              extended by MyClassLoader
All Implemented Interfaces:, java.lang.AutoCloseable

public class MyClassLoader

Class loader used so we can dynamically load classes. Normal class loader doesn't close the .jar so you can't reload. This fixes that.

Constructor Summary
Constructor and Description
MyClassLoader([] urls, java.lang.ClassLoader loader)
          Creates loader
Method Summary
Modifier and Type Method and Description
 void close()
          Fix here.
Methods inherited from class
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
Methods inherited from class
defineClass, defineClass
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, 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


public MyClassLoader([] urls,
                     java.lang.ClassLoader loader)
Creates loader

urls -
loader -
Method Detail


public void close()
Fix here.

Specified by:
close in interface
Specified by:
close in interface java.lang.AutoCloseable
close in class