[ https://issues.apache.org/jira/browse/DELTASPIKE-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13954327#comment-13954327 ]
Gerhard Petracek commented on DELTASPIKE-549: --------------------------------------------- i agree partly, because other schedulers might have e.g. an own data-structure for such parameters (e.g. a type-safe config). i'll think about different approaches. > 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)