I'm reading the Spring 2 reference doc on timer methods and it all seems to refer to (rather verbose) XML configuration. Is there any way to annotate a method via annotations and have Spring execute that via a timer?
e.g.:
//execute once an hour
@Timer(3600000)
public void doSomeCleanup() {}


Reply With Quote