RegistryShutdownHub replacement?

2013-04-02 Thread Michael Prescott
Now that RegistryShutdownHub has been deprecated in 5.3, is there a
preferred way for services to be notified that the application is shutting
down?

Gratefully,

Michael


Re: RegistryShutdownHub replacement?

2013-04-02 Thread Ivan Khalopik
As I know RegistryShutdownHub is not deprecated.
RegistryShutdownListener is deprecated and can be replaced with a Runnable.

http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/RegistryShutdownHub.html#addRegistryShutdownListener(java.lang.Runnable)


On Tue, Apr 2, 2013 at 4:00 PM, Michael Prescott 
michael.r.presc...@gmail.com wrote:

 Now that RegistryShutdownHub has been deprecated in 5.3, is there a
 preferred way for services to be notified that the application is shutting
 down?

 Gratefully,

 Michael




-- 
BR
Ivan


Re: RegistryShutdownHub replacement?

2013-04-02 Thread Michael Prescott
Ah yes, of course you're absolutely correct.  Thanks very much, Ivan.


On 2 April 2013 09:17, Ivan Khalopik ikhalo...@gmail.com wrote:

 As I know RegistryShutdownHub is not deprecated.
 RegistryShutdownListener is deprecated and can be replaced with a Runnable.


 http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/RegistryShutdownHub.html#addRegistryShutdownListener(java.lang.Runnable)


 On Tue, Apr 2, 2013 at 4:00 PM, Michael Prescott 
 michael.r.presc...@gmail.com wrote:

  Now that RegistryShutdownHub has been deprecated in 5.3, is there a
  preferred way for services to be notified that the application is
 shutting
  down?
 
  Gratefully,
 
  Michael
 



 --
 BR
 Ivan