Re: configuring a service for shutdown notification

2008-06-18 Thread eduardo cavalcanti
DataServiceImpl implements DataService {... eliminates the need for the typecast. Thanks for the learning experience. -- View this message in context: http://www.nabble.com/configuring-a-service-for-shutdown-notification-tp17959487p17996573.html Sent from the Tapestry - User mailing list archive at

Re: configuring a service for shutdown notification

2008-06-18 Thread Howard Lewis Ship
t;DataService ds = new DataServiceImpl(); > >hub.addRegistryShutdownListener((RegistryShutdownListener) ds); > >return ds; >} > -- > View this message in context: > http://www.nabble.com/configuring-a-service-for-shutdown-notification-tp17959487p17995884.h

Re: configuring a service for shutdown notification

2008-06-18 Thread eduardo cavalcanti
tener((RegistryShutdownListener) ds); return ds; } -- View this message in context: http://www.nabble.com/configuring-a-service-for-shutdown-notification-tp17959487p17995884.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: configuring a service for shutdown notification

2008-06-18 Thread Kristian Marinkovic
proxy(DataService.class, DataServiceImpl.class) hub.addRegistryShutdownListener(x); return x; } eduardo cavalcanti <[EMAIL PROTECTED]> 18.06.2008 06:23 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema configuring a service for

configuring a service for shutdown notification

2008-06-17 Thread eduardo cavalcanti
guess the next step should be call addRegistryShutdownListener() on some RegistryShutdownHub instance. Correct? How to do this. Does Tapestry provide an instance of it or do I have to create one? Thank you. -- View this message in context: http://www.nabble.com/configuring-a-service-for-shu