Package org.frankframework.scheduler
Class ConfiguredJob
java.lang.Object
org.frankframework.scheduler.AbstractJob
org.frankframework.scheduler.ConfiguredJob
- All Implemented Interfaces:
org.quartz.Job
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 Summary
Fields inherited from class org.frankframework.scheduler.AbstractJob
log
-
Constructor Summary
-
Method Summary
Methods inherited from class org.frankframework.scheduler.AbstractJob
getLogPrefix, getLogPrefix
-
Field Details
-
JOBDEF_KEY
- See Also:
-
-
Constructor Details
-
ConfiguredJob
public ConfiguredJob()
-
-
Method Details
-
execute
public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException - Throws:
org.quartz.JobExecutionException
-