Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Quartz is a neat embeddable schedular scheduler that we can use to trigger events.

...

A single Quartz Scheduler would be started on ApacheDS core system startup with some configurable number of threads. This way the scheduler based capabilities are available even when networking is not enabled. Once started the schedular scheduler would need to be shutdown on system shutdown.

Access to the Schedular Scheduler for the DirectoryService can be made through the DirectoryServiceConfiguration. All interceptor would have access to the Scheduler. A custom Quartz JobStore or a Quartz Plugin can be implemented to store jobs on disk as LDAP entries.

...

A custom interceptor can be used to detect writes involving trigger/job entries. However this is perhaps overkill. We do not need to do anything before these write operations. All actions to load and unload jobs from the Schedular Scheduler can occur after the write has occured. In this case, the Scheduler can depend on the event service for notifications.

Scheduler Configuration

The Schedular Scheduler needs to take various parameters which control it's behavoir. These parameters should be added to a configuration entry for the schedular scheduler in the ou=system area. Changes to this entry should automatically reconfigure the Scheduler.

...