Hi,
since Tapestry 5.3, there's
RegistryShutdownHub.addRegistryWillShutdownListener(Runnable). The
JavaDoc says "RegistryWillShutdownListeners are notified before any
standard listeners, and before service proxies and other parts of the
Registry are disabled.". However, the Registry Lock is locked before
the RegistryWillShutdownListeners are notified, so it's not possible to
acquire services in a RegistryWillShutdownListener.
The main reason I see for RegistryWillShutdownListeners is to perform
final cleanup tasks before the Registry goes down and I think the
registry should be fully functional at that point. Or wasn't that the
original intention?
Jochen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org