org.openorb.util.urlhandler
Class HandlerLoader

java.lang.Object
  |
  +--org.openorb.util.urlhandler.HandlerLoader

public final class HandlerLoader
extends Object

A Utility class to load the URL handlers into the system classloader. This is a workaround for JRE's older than 1.5.

Version:
$Revision: 1.2 $ $Date: 2004/02/03 23:25:32 $
Author:
Richard G Clark

Method Summary
static void loadHandlers(ClassLoader classSource)
          Ensures that the required resource handlers are loaded by the the system class loader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadHandlers

public static void loadHandlers(ClassLoader classSource)
                         throws ClassNotFoundException
Ensures that the required resource handlers are loaded by the the system class loader.
Parameters:
classSource - the classLoader to load the handler bytecode from if necessary.
Throws:
ClassNotFoundException - if the classes could not be loaded.