> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens Michiel Meeuwissen
> Verzonden: donderdag 30 juni 2005 11:49
> Aan: Discussion list for developers
> Onderwerp: Re: [Developers] crontab application
> 
> 
> Ernst Bunders wrote:
> > hello
> > I'm using the crontab app in one of hour websites. It's a very nice 
> > addition to mmbase, except for one thing: becouse the 
> custom job has 
> > to extend AbstractCronjob, which in turn relies on CronEntry, the 
> > custom jobs are hard to test. It would be much nicer if the 
> custom job 
> > could implement an interface, so you can write a simpel 
> test class for 
> > them. Dous anybody agree with this?
> 
> I think you can also simply implement Runable only.
> 
> You anly don't have accees to the CronEntry information and so on.
> 
> So AFAIK nothing needs to be changed for this, your reuqest 
> is already granted.

but i need the parameters from the configuration. how do i get those if
i dont extend abstractCronjob? 
it seems an interface extending runnable with some method like
setConfiguration(Map params) would do the trick.
Or am i missing something here?
Ernst

> 
> Michiel
> 
> 
> -- 
> Michiel Meeuwissen                  mihxil'
> Mediacentrum 140 H'sum                [] ()
> +31 (0)35 6772979         nl_NL eo_XX en_US
> 
> 
> 
> _______________________________________________
> Developers mailing list
> [email protected] 
> http://lists.mmbase.org/mailman/listinfo/developers
> 
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to