perhaps it helps you

http://www.chenillekit.org/chenillekit-quartz/index.html

2008/10/7 Angelo Chen <[EMAIL PROTECTED]>

>
> Hi,
>
> I'm trying to use Quarts for some scheduled tasks and I'd like to make it a
> service, at end is my simple code, AnnounceSchedulerImpl is the service,
>
> in the AppModule I add:
>
> binder.bind(AnnouceScheduler.class, AnnouceSchedulerImpl.class);
>
> but when run the IOC will not be started, commenting out the sf = new
> StdSchedulerFactory() will allow IOC to be started, any idea what I'm
> missing here? Thanks.
>
> Angelo
> p.s. any idea how to use Quartz will be welcome.
>
>
> public class AnnouceSchedulerImpl implements AnnouceScheduler {
>
>    final private Logger logger;
>    private SchedulerFactory sf;
>
>    public AnnouceSchedulerImpl(Logger logger) {
>        this.logger = logger;
>        sf = new StdSchedulerFactory();
>    }
>
>    public void addJob(JobDetail job) throws SchedulerException {
>
>    }
> }
>
>
>
> --
> View this message in context:
> http://www.nabble.com/T5%3A-How-to-use-Quartz-with-T5--tp19859317p19859317.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
with regards
Sven Homburg
http://www.chenillekit.org
http://tapestry5-components.googlecode.com

Reply via email to