|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader java.security.SecureClassLoader java.net.URLClassLoader org.apache.axis2.deployment.DeploymentClassLoader
public class DeploymentClassLoader
Nested Class Summary | |
---|---|
static class |
DeploymentClassLoader.ByteURLConnection
|
static class |
DeploymentClassLoader.ByteUrlStreamHandler
|
Constructor Summary | |
---|---|
DeploymentClassLoader(java.net.URL[] urls,
java.util.List embedded_jars,
java.lang.ClassLoader parent)
DeploymentClassLoader is extended from URLClassLoader. |
Method Summary | |
---|---|
protected java.lang.Class |
findClass(java.lang.String name)
Finds and loads the class with the specified name from the URL search path. |
java.net.URL |
findResource(java.lang.String resource)
Finds the resource with the specified name on the URL search path. |
java.util.Enumeration |
findResources(java.lang.String resource)
Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name. |
java.io.InputStream |
getResourceAsStream(java.lang.String name)
|
Methods inherited from class java.net.URLClassLoader |
---|
addURL, definePackage, getPermissions, getURLs, newInstance, newInstance |
Methods inherited from class java.security.SecureClassLoader |
---|
defineClass, defineClass |
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, 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 |
---|
public DeploymentClassLoader(java.net.URL[] urls, java.util.List embedded_jars, java.lang.ClassLoader parent)
urls
- URL
sparent
- parent classloader ClassLoader
Method Detail |
---|
protected java.lang.Class findClass(java.lang.String name) throws java.lang.ClassNotFoundException
findClass
in class java.net.URLClassLoader
name
- the name of the class
java.lang.ClassNotFoundException
- if the class could not be foundpublic java.net.URL findResource(java.lang.String resource)
findResource
in class java.net.URLClassLoader
resource
- the name of the resource
URL
for the resource, or null
if the resource could not be found.public java.util.Enumeration findResources(java.lang.String resource) throws java.io.IOException
findResources
in class java.net.URLClassLoader
resource
- the resource name
Enumeration
of URL
s
java.io.IOException
- if an I/O exception occurspublic java.io.InputStream getResourceAsStream(java.lang.String name)
getResourceAsStream
in class java.lang.ClassLoader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |