org.quartz.simpl
Class CascadingClassLoadHelper

java.lang.Object
  extended byorg.quartz.simpl.CascadingClassLoadHelper
All Implemented Interfaces:
ClassLoadHelper

public class CascadingClassLoadHelper
extends java.lang.Object
implements ClassLoadHelper

A ClassLoadHelper uses all of the ClassLoadHelper types that are found in this package in its attempts to load a class, when one scheme is found to work, it is promoted to the scheme that will be used first the next time a class is loaded (in order to improve perfomance).

Author:
jhouse
See Also:
ClassLoadHelper, SimpleClassLoadHelper, ThreadContextClassLoadHelper, InitThreadContextClassLoadHelper

Constructor Summary
CascadingClassLoadHelper()
           
 
Method Summary
 void initialize()
          Called to give the ClassLoadHelper a chance to initialize itself, including the oportunity to "steal" the class loader off of the calling thread, which is the thread that is initializing Quartz.
 java.lang.Class loadClass(java.lang.String name)
          Return the class with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CascadingClassLoadHelper

public CascadingClassLoadHelper()
Method Detail

initialize

public void initialize()
Called to give the ClassLoadHelper a chance to initialize itself, including the oportunity to "steal" the class loader off of the calling thread, which is the thread that is initializing Quartz.

Specified by:
initialize in interface ClassLoadHelper

loadClass

public java.lang.Class loadClass(java.lang.String name)
                          throws java.lang.ClassNotFoundException
Return the class with the given name.

Specified by:
loadClass in interface ClassLoadHelper
Throws:
java.lang.ClassNotFoundException


Copyright James House (c) 2001-2004