|
|||||||||
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.objectweb.jonas_lib.loader.AbsModuleClassLoader org.objectweb.jonas_lib.loader.SimpleWebappClassLoader org.objectweb.jonas_lib.loader.WebappClassLoader
public class WebappClassLoader
ClassLoader specialized for WebApps. It add the WEB-INF/wsdl/ directory of the war in the URL repository, the base URL of the jar file and the WEB-INF/classes/ directory. Used in WsGen.
Constructor Summary | |
---|---|
WebappClassLoader(java.net.URL module)
Create a new WebappClassLoader with default parent ClassLoader |
|
WebappClassLoader(java.net.URL module,
java.lang.ClassLoader parent)
Create a new WebappClassLoader with specified parent ClassLoader |
Method Summary | |
---|---|
java.net.URL |
getBaseURL()
|
protected void |
init()
Add the WEB-INF/classes/ directory and the content of WEB-INF/lib/ in the ClassLoader |
Methods inherited from class org.objectweb.jonas_lib.loader.AbsModuleClassLoader |
---|
addContentInRepository, addInRepository, getBases, getClasspath, toString |
Methods inherited from class java.net.URLClassLoader |
---|
addURL, definePackage, findClass, findResource, findResources, 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, getResourceAsStream, 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, wait, wait, wait |
Constructor Detail |
---|
public WebappClassLoader(java.net.URL module) throws java.io.IOException
module
- an URL of Web file
java.io.IOException
- if creation failspublic WebappClassLoader(java.net.URL module, java.lang.ClassLoader parent) throws java.io.IOException
module
- an URL of Web fileparent
- the parent ClasLoader
java.io.IOException
- if creation failsMethod Detail |
---|
protected void init() throws java.io.IOException
init
in class SimpleWebappClassLoader
java.io.IOException
- if cannot add in repository specified pathspublic java.net.URL getBaseURL()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |