org.eclipse.core.runtime.internal.adaptor
Class ContextFinder

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.eclipse.core.runtime.internal.adaptor.ContextFinder
All Implemented Interfaces:
PrivilegedAction<List<ClassLoader>>

public class ContextFinder
extends ClassLoader
implements PrivilegedAction<List<ClassLoader>>


Constructor Summary
ContextFinder(ClassLoader contextClassLoader)
           
 
Method Summary
protected  Enumeration<URL> findResources(String arg0)
           
 URL getResource(String arg0)
           
protected  Class<?> loadClass(String arg0, boolean arg1)
           
 List<ClassLoader> run()
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getPackage, getPackages, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, 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

ContextFinder

public ContextFinder(ClassLoader contextClassLoader)
Method Detail

run

public List<ClassLoader> run()
Specified by:
run in interface PrivilegedAction<List<ClassLoader>>

loadClass

protected Class<?> loadClass(String arg0,
                             boolean arg1)
                      throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader
Throws:
ClassNotFoundException

getResource

public URL getResource(String arg0)
Overrides:
getResource in class ClassLoader

findResources

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


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.