|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.radman.service.job.scheduler.internal.OSGiClassLoadHelper
public final class OSGiClassLoadHelper
OSGiClassLoadHelper is instantiated by StdSchedulerFactory. Hence, this class requires to have
default constructor.
The properties for StdSchedulerFactory.PROP_SCHED_CLASS_LOAD_HELPER_CLASS must be set with this
OSGiClassLoadHelper.
| Constructor Summary | |
|---|---|
OSGiClassLoadHelper()
|
|
| Method Summary | |
|---|---|
java.net.URL |
getResource(java.lang.String name)
Finds a resource with a given name. |
java.io.InputStream |
getResourceAsStream(java.lang.String name)
Finds a resource with a given name. |
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 |
|---|
public OSGiClassLoadHelper()
| Method Detail |
|---|
public final void initialize()
throws java.lang.IllegalStateException
initialize in interface org.quartz.spi.ClassLoadHelperjava.lang.IllegalStateException - Thrown if the bundle of this OSGiClassLoadHelper is not started.
public java.lang.Class loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
loadClass in interface org.quartz.spi.ClassLoadHelperjava.lang.ClassNotFoundExceptionpublic java.net.URL getResource(java.lang.String name)
getResource in interface org.quartz.spi.ClassLoadHelpername - name of the desired resource
public java.io.InputStream getResourceAsStream(java.lang.String name)
getResourceAsStream in interface org.quartz.spi.ClassLoadHelpername - name of the desired resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||