Christian Kaltepoth created DELTASPIKE-913:
----------------------------------------------
Summary: QuartzScheduler uses
BeanProvider.getContextualReference() for dependent scoped bean
Key: DELTASPIKE-913
URL: https://issues.apache.org/jira/browse/DELTASPIKE-913
Project: DeltaSpike
Issue Type: Bug
Components: Scheduler
Affects Versions: 1.4.0
Reporter: Christian Kaltepoth
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)