org.objectweb.jonas_lib.loader.SimpleWebappClassLoader Class Reference

Inherits org.objectweb.jonas_lib.loader.AbsModuleClassLoader.

Inherited by org.objectweb.jonas_lib.loader.WebappClassLoader.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SimpleWebappClassLoader (URL module) throws IOException
 SimpleWebappClassLoader (URL module, ClassLoader parent) throws IOException

Protected Member Functions

void init () throws IOException

Detailed Description

ClassLoader specialized for WebApps. It add only the WEB-INF/wsdl/ directory of the war in the URL repository. Used because Catalina doesn't automatically add this resources in its own ClassLoader

Author:
Guillaume Sauthier

Definition at line 39 of file SimpleWebappClassLoader.java.


Constructor & Destructor Documentation

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

Create a new SimpleWebappClassLoader with default parent ClassLoader

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

Definition at line 51 of file SimpleWebappClassLoader.java.

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

Create a new SimpleWebappClassLoader with specified parent ClassLoader

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

Definition at line 63 of file SimpleWebappClassLoader.java.


Member Function Documentation

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

Add the WEB-INF/wsdl/ directory in the ClassLoader.

Exceptions:
IOException if META-INF/wsdl and ejb-jar root directories cannot be inserted in loader

Reimplemented from org.objectweb.jonas_lib.loader.AbsModuleClassLoader.

Reimplemented in org.objectweb.jonas_lib.loader.WebappClassLoader.

Definition at line 73 of file SimpleWebappClassLoader.java.

References 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