Many thanks!

On 29/01/07, Squee <[EMAIL PROTECTED]> wrote:
> This would be really nice to have a little tutorial for this. We're
> currently doing this very manually in our app. It'll also be nice to
> use Resin's scheduled thread pool rather than doing it on our own.
>
> On 1/29/07, Scott Ferguson <[EMAIL PROTECTED]> wrote:
> >
> >    @Resource ExecutorService _threadPool;
> >    @Resource ScheduledExecutorService _timer;
> >
> > Resin will stop those services on web-app restart, so if you have a
> > Future to the runnable task, you can have your task stop at the
> > proper time.
> >
> > At some point, I'll add a tutorial to show how to use the Future
> > returned from the schedule() call to make sure your service shuts
> > down property.
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>


-- 

http://dannyayers.com


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to