Search in sources :

Example 1 with Scheduler

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;
}
Also used : Scheduler(org.apache.ode.bpel.iapi.Scheduler)

Aggregations

Scheduler (org.apache.ode.bpel.iapi.Scheduler)1