Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-8205

Scheduled tasks should allow a reference to a Trigger bean in XSD

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.0 GA
    • Fix Version/s: 3.1 M2
    • Component/s: None
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Scheduled tasks should allow a reference to a Trigger bean in XSD. The underlying FactoryBean allows it, but only for CronTrigger. A good first step would be to allow it in the same circumstances, and then optionally also more generally, for custom triggers. Some out-of-the box Trigger implementations for fixed rate and fixed delay would also then be useful. The main reason for doing this would be to allow runtime control of the trigger.

        Attachments

          Activity

            People

            • Assignee:
              mark.fisher Mark Fisher
              Reporter:
              david_syer Dave Syer
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 8 weeks, 6 days ago