add 'registryAboutToShutdown' handler -------------------------------------
Key: TAP5-1359 URL: https://issues.apache.org/jira/browse/TAP5-1359 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-ioc Affects Versions: 5.2.4 Reporter: Paul Stanton It is impossible to inject a service into a handler of 'RegistryShutdownListener .registryDidShutdown' since the registry is already shutdown at this point. this makes it difficult to perform some more intricate termination logic when multiple services need to collude. I propose the inclusion of a new interface 'RegistryAboutToShutdownListener' with the method 'registryAboutToShutDown'. In the case of a tapestry application, it would need to be called after Http requests have been disallowed, but before the registry because unusable. There may need to be some ordered configuration to control service dependencies as they shut down, and I expect some other considerations I haven't thought of.... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.