spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
56.25k stars 37.98k forks source link

change statup behavior of SchedulerFactoryBean [SPR-216] #4947

Closed spring-projects-issues closed 20 years ago

spring-projects-issues commented 20 years ago

Shishir K Singh opened SPR-216 and commented

Right now, the default behavior of SchedulerFactoryBean is to start the scheduler when the framework comes up. The only way to change this would be subclass and having an empty method startScheduler{} in the subclass.

To avoid this, can a new attribute be added on SchedulerFactoryBean (say boolean startScheduler ) that has a default value = true. This way we won't have to subclass to change the startup behavior.

Thanks Shishir


Affects: 1.1 RC1

spring-projects-issues commented 20 years ago

Juergen Hoeller commented

Added "autoStartup" property to SchedulerFactoryBean, with default=true. Juergen