Thanks! Exactly what I was looking for.
On Fri, Jun 27, 2014 at 6:30 PM, Dmitry Gusev <dmitry.gu...@gmail.com> wrote: > > http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/ioc/ReloadAware.html > > On Friday, June 27, 2014, Ilya Obshadko <ilya.obsha...@gmail.com> wrote: > > > I have a couple of services which use PeriodicExecutor to perform > > background tasks. > > > > When service implementation reloads in development mode, instantiated > > background job isn't stopped. So, after implementation is reloaded, it > > creates another background jobs while previous one still exists and > > continues to run. What could you recommend to solve this problem? > > > > Is there any explicit way to signal particular implementation that it's > > about to be reloaded? > > > > Thanks in advance. > > > > -- > > Ilya Obshadko > > > > > -- > Dmitry Gusev > > AnjLab Team > http://anjlab.com > -- Ilya Obshadko