Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-913

QuartzScheduler uses BeanProvider.getContextualReference() for dependent scoped bean

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.1
    • Scheduler
    • None

    Description

      The scheduler module logs a warning for each invocation of a job:

      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]
      

      This is caused by JobListenerContext which uses BeanProvider.getContextualReference to get an instance of ContextControl.

      Attachments

        Activity

          People

            chkal Christian Kaltepoth
            chkal Christian Kaltepoth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: