[
https://issues.apache.org/jira/browse/DELTASPIKE-913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek updated DELTASPIKE-913:
----------------------------------------
Issue Type: Improvement (was: Bug)
> QuartzScheduler uses BeanProvider.getContextualReference() for dependent
> scoped bean
> ------------------------------------------------------------------------------------
>
> Key: DELTASPIKE-913
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-913
> Project: DeltaSpike
> Issue Type: Improvement
> Components: Scheduler
> Affects Versions: 1.4.0
> Reporter: Christian Kaltepoth
> Assignee: Christian Kaltepoth
> Fix For: 1.4.1
>
>
> The scheduler module logs a warning for each invocation of a job:
> {code}
> 28-May-2015 09:12:35.001 WARNING [DefaultQuartzScheduler_Worker-2]
> org.apache.deltaspike.core.api.provider.BeanProvider.logWarningIfDependent
> BeanProvider shall not be used to create @Dependent scoped beans. Bean:
> Managed Bean [class org.apache.deltaspike.cdise.weld.WeldContextControl] with
> qualifiers [@Any @Default]
> {code}
> This is caused by {{JobListenerContext}} which uses
> {{BeanProvider.getContextualReference}} to get an instance of
> {{ContextControl}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)