org.quartz.simpl
public class: ThreadContextClassLoadHelper [javadoc |
source]
java.lang.Object
org.quartz.simpl.ThreadContextClassLoadHelper
All Implemented Interfaces:
ClassLoadHelper
A
ClassLoadHelper that uses either the current thread's
context class loader (
Thread.currentThread().getContextClassLoader().loadClass( .. )).
| Method from org.quartz.simpl.ThreadContextClassLoadHelper Detail: |
public URL getResource(String name) {
return getClassLoader().getResource(name);
}
Finds a resource with a given name. This method returns null if no
resource with this name is found. |
public InputStream getResourceAsStream(String name) {
return getClassLoader().getResourceAsStream(name);
}
Finds a resource with a given name. This method returns null if no
resource with this name is found. |
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. |
public Class loadClass(String name) throws ClassNotFoundException {
return getClassLoader().loadClass(name);
}
Return the class with the given name. |