use of org.apache.ode.bpel.iapi.Scheduler in project carbon-business-process by wso2.
the class BPELSchedulerShutdown method startingShutdown.
// triggered before shutting down server and shutdown the scheduler if exists
@Override
public void startingShutdown() {
Scheduler scheduler = ((BPELServerImpl) BPELServiceComponent.getBPELServer()).getScheduler();
if (scheduler != null) {
log.info("Shutting down ode job scheduler.");
scheduler.shutdown();
}
status = true;
}
Aggregations