]
Rastislav Wagner closed JBIDE-16796.
------------------------------------
verified in JBDS 8.0.0.Beta2-v20140613-0252-B130
Support scheduler extension of Deltaspike
-----------------------------------------
Key: JBIDE-16796
URL:
https://issues.jboss.org/browse/JBIDE-16796
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: cdi-extensions
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Labels: new_and_noteworthy
Fix For: 4.2.0.Beta2
Scheduler instance can be injected into a bean:
{code}
public class SchedulerController {
@Inject Scheduler scheduler;
}
{code}
It is provided in Deltaspike by a producer method SchedulerProducer.produceScheduler().
Extension selects an implementation of scheduler to be returned by this producer. It
vetoes all available implementations of scheduler to prevent them from being available for
injection beside the producer bean.
So, in JBossTools, the above injection point should be resolved to
SchedulerProducer.produceScheduler().