org.objectweb.jonas_lib.loader.WebappClassLoader Class Reference

Inherits org.objectweb.jonas_lib.loader.SimpleWebappClassLoader.

Inheritance diagram for org.objectweb.jonas_lib.loader.WebappClassLoader:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_lib.loader.WebappClassLoader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 WebappClassLoader (URL module) throws IOException
 WebappClassLoader (URL module, ClassLoader parent) throws IOException
URL getBaseURL ()

Protected Member Functions

void init () throws IOException

Detailed Description

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.

Author:
Guillaume Sauthier

Definition at line 39 of file WebappClassLoader.java.


Constructor & Destructor Documentation

org.objectweb.jonas_lib.loader.WebappClassLoader.WebappClassLoader URL  module  )  throws IOException
 

Create a new WebappClassLoader with default parent ClassLoader

Parameters:
module an URL of Web file
Exceptions:
IOException if creation fails

Definition at line 54 of file WebappClassLoader.java.

org.objectweb.jonas_lib.loader.WebappClassLoader.WebappClassLoader URL  module,
ClassLoader  parent
throws IOException
 

Create a new WebappClassLoader with specified parent ClassLoader

Parameters:
module an URL of Web file
parent the parent ClasLoader
Exceptions:
IOException if creation fails

Definition at line 66 of file WebappClassLoader.java.


Member Function Documentation

URL org.objectweb.jonas_lib.loader.WebappClassLoader.getBaseURL  ) 
 

Returns:
Returns the Base URL for this ClassLoader

Definition at line 85 of file WebappClassLoader.java.

References org.objectweb.jonas_lib.loader.AbsModuleClassLoader.getBases().

Referenced by org.objectweb.jonas.ws.AbsWebServicesServiceImpl.deployWebServices().

Here is the call graph for this function:

void org.objectweb.jonas_lib.loader.WebappClassLoader.init  )  throws IOException [protected]
 

Add the WEB-INF/classes/ directory and the content of WEB-INF/lib/ in the ClassLoader

Exceptions:
IOException if cannot add in repository specified paths

Reimplemented from org.objectweb.jonas_lib.loader.SimpleWebappClassLoader.

Definition at line 76 of file WebappClassLoader.java.

References org.objectweb.jonas_lib.loader.AbsModuleClassLoader.addContentInRepository(), and org.objectweb.jonas_lib.loader.AbsModuleClassLoader.addInRepository().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:13:07 2005 for JOnAS by  doxygen 1.3.9.1