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

Reply via email to