[ 
https://issues.apache.org/jira/browse/DELTASPIKE-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951339#comment-13951339
 ] 

Piotr Dudkiewicz commented on DELTASPIKE-549:
---------------------------------------------

Use case: job parametrization. 
Example :
In order to run one of the quartz utility jobs: org.quartz.jobs.FileScanJob 
(www.quartz-scheduler.org/api/2.2.0/org/quartz/jobs/FileScanJob.html)  we need 
to pass some parameters
like FILE_NAME, FILE_SCAN_LISTENER_NAME etc. using  JobDataMap.

> Add programmatic job scheduling
> -------------------------------
>
>                 Key: DELTASPIKE-549
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-549
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Scheduler
>    Affects Versions: 0.7
>            Reporter: Piotr Dudkiewicz
>            Assignee: Gerhard Petracek
>            Priority: Minor
>
> Currently the only way to pass job configuration is by using Scheduled 
> annotation. It would be nice to have another registerNewJob method taking job 
> configuration as parameter, for example
> void registerNewJob(Class<? extends T> jobClass, JobConfiguration 
> configuration);



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to