Package org.frankframework.scheduler
Class ConfiguredJob
java.lang.Object
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 -
Constructor Summary
Constructors -
Method Summary
-
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 - Specified by:
execute
in interfaceorg.quartz.Job
- Throws:
org.quartz.JobExecutionException
-