Projects:Quartz Upgrade 2.3.0/Technical Specifications
Contents |
Introduction
This document describes the technical specifications of the project in charge of upgrading the Quartz Scheduler library in Openbravo core to the current latest version, 2.3.0.
Version 2.0 of Quartz introduced a new API for managing Jobs and Triggers through a Domain Specific Language (DSL). The usage of the previous API has been removed instead of having it deprecated, so the code in Openbravo needs to be updated.
Public Classes
org.openbravo.scheduling.OBScheduler
This class needs to be updated to manage create, schedule and unschedule jobs by using the new Builder-based API and change the naming of jobs and triggers to the new Key-based nomenclature.
Besideas a refactor will be done in this class in order to reduce the complexity of the TriggerProvider.newInstance method. This refactor will also allow to have a testing infrastructure to cover Openbravo's process scheduling configuration mechanism.
org.openbravo.scheduling.ProcessMonitor
This class will be updated to change the naming of jobs and triggers to the new Key-based nomenclature.
Glossary
Job
The definition of a process that can be executed by Quartz Scheduler
Trigger
The schedule with which a job should be executed by Quartz