Re: Registry will shutdown listener not invoked

2013-04-04 Thread Muhammad Gelbana
That was it ! Shutdown listener runnables aren't threaded when called. I know the interface Runnable isn't obligated to be executed withing threads but I guess since tapestry honors coding through convention, a clear heads-up for this behavior would be great in the docs. Unless I missed it ! Thank

Re: Registry will shutdown listener not invoked

2013-04-04 Thread Muhammad Gelbana
I've been thinking I may know the reason for what I'm facing but to make sure I need to confirm something after looking into this piece of code: org.apache.tapestry5.ioc.internal.services.RegistryShutdownHubImpl.fireRegistryDidShutdown() This method calls the shutdown listeners one after another,

Re: Registry will shutdown listener not invoked

2013-04-03 Thread Muhammad Gelbana
addRegistryWillShutdownListener is used to contribute methods to be invoked right before proxies\registry are destroyed On Wed, Apr 3, 2013 at

Re: Registry will shutdown listener not invoked

2013-04-03 Thread Michael Prescott
What is 'log', is it an injected logger service? Once shutdown has started, other services may already have been deactivated, so those calls may fail. On 3 April 2013 16:27, Muhammad Gelbana wrote: > I use tapestry to develop windows services so this should be similar to a > desktop applicatio