Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quartz scheduler should not start until context is refreshed [SPR-6307] #10973

Closed
spring-projects-issues opened this issue Nov 5, 2009 · 2 comments
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Nov 5, 2009

Mark Fisher opened SPR-6307 and commented

This is the same basic issue as #9393


Referenced from: commits 91297d9

@spring-projects-issues
Copy link
Collaborator Author

Mark Fisher commented

Committed the initial resolution: auto-start now occurs upon receiving a ContextRefreshedEvent instead of happening upon initialization.

Other changes in RC2 might lead to some changes within the scope of a more general solution.

@spring-projects-issues
Copy link
Collaborator Author

Mark Fisher commented

This is now driven by the DefaultLifecycleProcessor so that the scheduler factory bean does not have to implement ApplicationListener anymore. The autoStartup flag is checked upon ApplicationContext refresh and if "true", it will be started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant