|
From: Rod J. <rod...@in...> - 2003-09-12 10:51:10
|
Yes I think this could be useful. I could envisage uses for it. I don't quite understand the "integration with the context" you propose. Couldn't the scheduler be a BeanFactoryAware bean in a context, and its setBeanFactory() method give it access to whatever other beans it needs and also kick off its timer/whatever? Of course it could be configured by its JavaBean properties. Regards, Rod ----- Original Message ----- From: "Ivan Ristic" <iv...@we...> To: <spr...@li...> Sent: Friday, September 12, 2003 10:42 AM Subject: [Springframework-developer] Spring scheduler? > > [Note: I sent this email yesterday but I did not see it arrive to > the mailing list. So here is it again.] > > > As part of my project I am building a (simple but capable) cron-like > scheduler. Do you think there is a place for it in the Spring > framework? It will support both persistent and non-persistent scheduling. > > I think the scheduler itself should be a JavaBean, capable of > executing a given method (with or without parameters) on > an object, according to the supplied schedule. > > Another possibility is to have the scheduler integrated into the > context but I'm not sure how smart that would be. > > -- > ModSecurity (http://www.modsecurity.org) > [ Open source IDS for Web applications ] > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |