Class ConfiguredJob

java.lang.Object
org.frankframework.scheduler.BaseJob
org.frankframework.scheduler.ConfiguredJob
All Implemented Interfaces:
org.quartz.Job

public class ConfiguredJob extends BaseJob
Job, specified in Configuration.xml, for executing things to do with an adapter, like starting or stopping it. The Quartz scheduler is used for scheduling.

Expects a JobDetail with a datamap with the following fields:

  • function: the function to do, possible values: "startreceiver","stopadapter", "stopreceiver" and "stopadapter"
  • config: the Configuration object
  • adapterName: the name of the adapter
  • receiverName: the name of the receiver

Design consideration

Currently, the Configuration is stored in the job data map. As the configuration is not serializable, due to the nature of the adapters, the quartz database support cannot be used.

Author:
Johan Verrips
See Also:
  • Field Details

  • Constructor Details

    • ConfiguredJob

      public ConfiguredJob()
  • Method Details

    • execute

      public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
      Throws:
      org.quartz.JobExecutionException