I have followed the quartz example on the chenillekit site and I can run a
simple job. How would I go about injecting a service into one of my jobs.
public static void
contributeSchedulerFactory(MappedConfiguration<String,
Resource> configuration) {
Resource configResource = new
ClasspathResource("quartz.properties");
configuration.add("quartz.properties", configResource);
}
public static void
contributeQuartzSchedulerManager(OrderedConfiguration<JobSchedulingBundle>
configuration) {
configuration.add("importEmailToArchive", new
ImportEmailToArchiveBundle(new EmailArchiveImporter()));
}
I want to inject a service into EmailArchiveImporter.
Cheers,
Daniel
--
View this message in context:
http://www.nabble.com/T5---Chenillekit-Quartz---Services-tp22787045p22787045.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]