Package org.apache.xbean.classpath
Class SunURLClassPath
- java.lang.Object
-
- org.apache.xbean.classpath.SunURLClassPath
-
- All Implemented Interfaces:
ClassPath
- Direct Known Subclasses:
ContextClassPath,SystemClassPath,TomcatClassPath
public abstract class SunURLClassPath extends java.lang.Object implements ClassPath
-
-
Constructor Summary
Constructors Constructor Description SunURLClassPath()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddJarsToPath(java.io.File dir, java.net.URLClassLoader loader)protected voidaddJarToPath(java.net.URL jar, java.net.URLClassLoader loader)static java.lang.ClassLoadergetContextClassLoader()protected jdk.internal.loader.URLClassPathgetURLClassPath(java.net.URLClassLoader loader)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.xbean.classpath.ClassPath
addJarsToPath, addJarToPath, getClassLoader
-
-
-
-
Method Detail
-
getContextClassLoader
public static java.lang.ClassLoader getContextClassLoader()
-
addJarToPath
protected void addJarToPath(java.net.URL jar, java.net.URLClassLoader loader) throws java.lang.Exception- Throws:
java.lang.Exception
-
addJarsToPath
protected void addJarsToPath(java.io.File dir, java.net.URLClassLoader loader) throws java.lang.Exception- Throws:
java.lang.Exception
-
getURLClassPath
protected jdk.internal.loader.URLClassPath getURLClassPath(java.net.URLClassLoader loader) throws java.lang.Exception- Throws:
java.lang.Exception
-
-