Versions Compared

Key

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

...

Access to the 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.

Scheduler Schema

With LDAP entries for storing jobs and triggers we're going to need a custom schema for scheduling information. The rest of this section defines the attributes and objectClasses that will be needed.

Note

Don't forget to parameterize access to start and stop times for cron based triggers.

Adding New Job Entries to Scheduler

There are 3 challenges we face with LDAP based jobs and triggers:

...

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 Scheduler can occur after the write has occurred. In this case, the Scheduler can depend on the event service for notifications.

Scheduler Configuration

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

...