public class DefaultTaskJobDetailFactory extends Object implements TaskJobDetailFactory
Constructor and Description |
---|
DefaultTaskJobDetailFactory() |
Modifier and Type | Method and Description |
---|---|
org.quartz.JobDetail |
createJobDetail(TaskDescription taskDescription,
Map<String,Object> resources,
Class<? extends org.quartz.Job> jobClass)
Factory method for creating a JobDetail based on give Task Description ,
additional resources and job class
|
public org.quartz.JobDetail createJobDetail(TaskDescription taskDescription, Map<String,Object> resources, Class<? extends org.quartz.Job> jobClass)
TaskJobDetailFactory
createJobDetail
in interface TaskJobDetailFactory
taskDescription
- TaskDescription instanceresources
- Additional resources .
This can be used to provide context specific resources
Example : Synapse EnvironmentjobClass
- Job classTaskJobDetailFactory
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.