[ https://issues.apache.org/jira/browse/DELTASPIKE-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951052#comment-13951052 ]
Piotr Dudkiewicz edited comment on DELTASPIKE-549 at 3/28/14 5:19 PM: ---------------------------------------------------------------------- I've already implemented similar ScheduledLiteral (added defaults from Scheduled annotation) but I'm missing the point how can I invoke registerNewJob method using it. I could use BeanBuilder and AfterBeanDiscovery but that's too much for such simple case for me. was (Author: p.dudkiewicz): I've already implemented similar ScheduledLiteral (added defaults from Scheduled annotation) but I'm missing the point how can I invoke registerNewJob method using it. > 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)