org.objectweb.jonas.server.JClassLoader Class Reference

List of all members.

Public Member Functions

 JClassLoader (String name, URL[] urls, ClassLoader parent)
 JClassLoader (String name, URL[] urls)
void addURL (URL url)
void addURLs (URL[] urls)
void printURLs ()
String getClassPath ()
String toString ()

Detailed Description

This class implements a URLClassLoader, that permits to add some URLs in it.
Author:
Ludovic Bert

Florent Benoit

Definition at line 38 of file JClassLoader.java.


Constructor & Destructor Documentation

org.objectweb.jonas.server.JClassLoader.JClassLoader String  name,
URL[]  urls,
ClassLoader  parent
 

Constructs a new ClassLoader with the specified URLs.

Parameters:
name ClassLoader name (used for Display)
urls the URLs to add at the ClassLoader creation.
parent parent ClassLoader, null if no parent.

Definition at line 51 of file JClassLoader.java.

org.objectweb.jonas.server.JClassLoader.JClassLoader String  name,
URL[]  urls
 

Constructs a new ClassLoader with the specified URLs. Uses the default delegation parent classloader.

Parameters:
name ClassLoader name (used for Display)
urls the URLs to add at the ClassLoader creation.

Definition at line 62 of file JClassLoader.java.


Member Function Documentation

void org.objectweb.jonas.server.JClassLoader.addURL URL  url  ) 
 

Add the specified URL to this ClassLoader.

Parameters:
url the URL to add to this ClassLoader.

Definition at line 71 of file JClassLoader.java.

void org.objectweb.jonas.server.JClassLoader.addURLs URL[]  urls  ) 
 

Add the specified URLs to this ClassLoader.

Parameters:
urls the URLs to add to this ClassLoader.

Definition at line 81 of file JClassLoader.java.

String org.objectweb.jonas.server.JClassLoader.getClassPath  ) 
 

Get the class path of this classloader

Returns:
the class path of this classloader

Definition at line 111 of file JClassLoader.java.

Referenced by org.objectweb.jonas_lib.genbase.generator.Config.Config(), and org.objectweb.jonas_ejb.genic.GenIC.main().

void org.objectweb.jonas.server.JClassLoader.printURLs  ) 
 

Display all the URLs from the class loader

Definition at line 94 of file JClassLoader.java.

String org.objectweb.jonas.server.JClassLoader.toString  ) 
 

Displays useful information

Returns:
information

Definition at line 128 of file JClassLoader.java.


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