public final class JobShutdownHookPlugin extends Object implements org.quartz.spi.SchedulerPlugin
| 构造器和说明 |
|---|
JobShutdownHookPlugin() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
initialize(String name,
org.quartz.Scheduler scheduler,
org.quartz.spi.ClassLoadHelper classLoadHelper) |
void |
shutdown() |
void |
start()
Called when the associated
Scheduler is started, in order
to let the plug-in know it can now make calls into the scheduler if it
needs to. |
public void initialize(String name, org.quartz.Scheduler scheduler, org.quartz.spi.ClassLoadHelper classLoadHelper) throws org.quartz.SchedulerException
initialize 在接口中 org.quartz.spi.SchedulerPluginorg.quartz.SchedulerExceptionpublic void start()
Called when the associated Scheduler is started, in order
to let the plug-in know it can now make calls into the scheduler if it
needs to.
start 在接口中 org.quartz.spi.SchedulerPluginpublic void shutdown()
shutdown 在接口中 org.quartz.spi.SchedulerPluginCopyright © 2020 The Apache Software Foundation. All rights reserved.