Put it to ParallelExecutor?
http://tapestry.apache.org/parallel-execution.html

http://blog.tapestry5.de/index.php/2011/09/18/scheduling-jobs-with-tapestry/

There's also Quartz scheduler support:
https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz



On Fri, Nov 22, 2013 at 8:03 PM, John <j...@quivinco.com> wrote:

> I have a utility class that recieves emails with a background TimerTask
> that needs to invoke a method on one of my injected DAOs to store the
> messages in the db.
>
> How do I get this class to load when I start my app and make sure the
> injected services are set? With EagerLoad the class gets instantiated but
> of course the services are null.
>
> John




-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to