Is that thread safe, putting the service in a map in non-service class? On Tue, Mar 31, 2009 at 3:02 AM, Daniel Jones <d...@murieston.com> wrote:
> > Got this working in the end. > > Put my service reference in the JobDataMap and accessed it like this from > within the job. > > public void execute(JobExecutionContext pContext) throws > JobExecutionException { > IDataSource aDataSource = (IDataSource) > pContext.getJobDetail().getJobDataMap().get("datasource"); > aDataSource.updateFromEmail(); > } > > Daniel > -- > View this message in context: > http://www.nabble.com/T5---Chenillekit-Quartz---Services-tp22787045p22796363.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >