org.pentaho.platform.engine.services.solution
Class SolutionClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.pentaho.platform.engine.services.solution.SolutionClassLoader

public class SolutionClassLoader
extends ClassLoader


Constructor Summary
SolutionClassLoader(String inPath, Object parent)
           
 
Method Summary
static void addJar(JarFile jar)
           
static void clearResourceCache()
           
 InputStream getResourceAsStream(String name)
          Returns the requested resource as an InputStream.
static void unloadClasses()
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolutionClassLoader

public SolutionClassLoader(String inPath,
                           Object parent)
Method Detail

addJar

public static void addJar(JarFile jar)

unloadClasses

public static void unloadClasses()

getResourceAsStream

public InputStream getResourceAsStream(String name)
Returns the requested resource as an InputStream.

Overrides:
getResourceAsStream in class ClassLoader
Parameters:
name - The resource name

clearResourceCache

public static void clearResourceCache()