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

New annotation syntax for sheduling [SPR-5329] #10002

Closed
spring-projects-issues opened this issue Nov 28, 2008 · 1 comment
Closed

New annotation syntax for sheduling [SPR-5329] #10002

spring-projects-issues opened this issue Nov 28, 2008 · 1 comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Nickolay Mazurkin opened SPR-5329 and commented

I like the new way the Spring Framework 2.5 configures beans with context configuration files.

I am busied with a project with scheduling this week and I have an idea how to make scheduling simpler for new Spring users. The idea is to make a special annotation with name "@Scheduled" there one could point the cron time definition, concurrence control and other schedule settings. It could look like this - for example I have a service bean SchedulerService

public class SchedulerService implements Initializing Bean {

@Scheduled("* * 1 * * ?")
public void doSomething1(ScheduleContext context) {
}

@Scheduled("* * */4 * * ?")
public void doSomething2() {
}

}

And so on. The other thing we should implement - it a special unified facade interface to schedule engines such as Quartz and others.


No further details from SPR-5329

@spring-projects-issues
Copy link
Collaborator Author

Dave Syer commented

This feature was provided in 3.0.0 already, but marking as resolved after the fact.

@spring-projects-issues spring-projects-issues added type: enhancement A general enhancement in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.0 GA milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant