Re: Proper way of sharing reference to Application

2017-07-10 Thread Vit Rozkovec
Perfect, thank you. Vit On 07/10/2017 06:05 AM, Martin Grigorov wrote: Hi, On Sat, Jul 8, 2017 at 5:33 PM, Vit Rozkovec wrote: Hi, I'm using Quartz Scheduler for scheduling regular jobs or for keeping time intensive work units out from the Application's init method.

Re: Proper way of sharing reference to Application

2017-07-09 Thread Martin Grigorov
Hi, On Sat, Jul 8, 2017 at 5:33 PM, Vit Rozkovec wrote: > Hi, > > I'm using Quartz Scheduler for scheduling regular jobs or for keeping time > intensive work units out from the Application's init method. > > Please see Task execution. What is the right way to set

Proper way of sharing reference to Application

2017-07-08 Thread Vit Rozkovec
Hi, I'm using Quartz Scheduler for scheduling regular jobs or for keeping time intensive work units out from the Application's init method. Please see Task execution. What is the right way to set application to the ThreadContext? Is it fine to do it like this without introducing leaks of