[Yanel-dev] Re: [Yanel-commits] rev 47020 - in public/yanel/trunk/src/impl/java/org/wyona/yanel/impl: . scheduler

Michael Wechner michael.wechner at wyona.com
Mon Jan 11 16:38:54 CET 2010


Guillaume Déflache wrote:
> michi at wyona.com wrote:
>> Author: michi
>> Date: 2010-01-11 11:01:21 +0100 (Mon, 11 Jan 2010)
>> New Revision: 47020
>>
>> Added:
>>    public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/scheduler/
>>    
>> public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/scheduler/QuartzSchedulerUtil.java 
>>
>> Log:
>> quartz scheduler util started
>> [...]
>> +    public static void schedule(Scheduler scheduler, Document doc, 
>> String groupName) {
>> +        log.warn("Add jobs for group '" + groupName + "' to 
>> scheduler.");
>> +    }
>> +}
>
> Did we give up on the idea of a implementation-independant scheduler 
> (cf. 
> <http://lists.wyona.org/pipermail/yanel-development/2009-December/004217.html>)? 
>

no, we still want to do this, but please see below
>
> If not yet, we might want to move the 
> org.wyona.yanel.impl.scheduler.QuartzSchedulerUtil class to 
> org/wyona/yanel/servlet to be able to keep it package-protected for 
> now, as it is highly Quartz-specific.

This is why I called it QuartzSchedulerUtil and moved it into impl, but 
to be honest I am more worried about the Job implementation class like 
for example

src/webapp/src/java/org/wyona/yanel/servlet/HeartbeatJob.java

because it is based on Quartz ...

Any suggestions to make this abstract are very welcome ;-)

Thanks

Michi



More information about the Yanel-development mailing list