RE: Quartz Job setup with JobDetails requires parameter free constructor - how to inject Service bindings

2010-07-13 Thread Alfie Kirkpatrick
Henze [mailto:dhe...@googlemail.com] Sent: 12 July 2010 21:21 To: Tapestry users Subject: Quartz Job setup with JobDetails requires parameter free constructor - how to inject Service bindings Hi there, I am using chenillekit-quartz integration and followed the example setup on the module homepage

Quartz Job setup with JobDetails requires parameter free constructor - how to inject Service bindings

2010-07-12 Thread Daniel Henze
Hi there, I am using chenillekit-quartz integration and followed the example setup on the module homepage (http://chenillekit.codehaus.org/chenillekit-quartz/index.html). All good so far, got things up and running. But now I want to run a job that has other services (DAO, MailService) as

Re: Quartz Job setup with JobDetails requires parameter free constructor - how to inject Service bindings

2010-07-12 Thread Kalle Korhonen
You create a JobSchedulingBundle (service), create a JobDataMap in it, add all the services to the map you need in your Job and then then get the map via executionContext.getMergedJobDataMap(). The concept behind JobDataMap is solid but you could arguably make a tighter and easier-to-use