You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2009/06/07 07:16:30 UTC

T5: Restarting a service

Hi,

I got a service, MyService, which when loaded will read a parameter from
file, as I understand service in T5 will remain loaded until the application
is restarted, is there a way to programmatically restart a loaded service?
Thanks,

A.C.
-- 
View this message in context: http://www.nabble.com/T5%3A-Restarting-a-service-tp23907845p23907845.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: Restarting a service

Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Angelo,

How about moving the logic performed at service start into a method - if
it isn't already - and just call it again to "restart" the service?

/Filip

On 2009-06-07 07:16, Angelo Chen wrote:
> Hi,
> 
> I got a service, MyService, which when loaded will read a parameter from
> file, as I understand service in T5 will remain loaded until the application
> is restarted, is there a way to programmatically restart a loaded service?
> Thanks,
> 
> A.C.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKK4tYAAoJEEfiH7PpjaMnCLUIAJsad/7W4VCrlnKphbqfc2Fq
XU1fPD/ZxMo/pE8HX2a5xidk7PyagcZr8yXBKi6hXiEWmXPRqh8L41CcC/5E7GSw
+6WvQDlnxDjtCEcHxg7gZRNaS4JFv+gFEimWJM9Xev6R2cmoDO9zRX0szSk1R2V8
vC4EikV1tE2rkBGepvn3JgzjLJRwum7AD6kHbYwsd1y3JP+juCcOnxk7dqjqlOS0
fBhFqOuqKHz6qc/6fU5HvVgwq0tOevxAD6jXlEdh0VetR0w1dlWIiz0sca6Qf3BK
lRkKQZLr6oRA3k0OsI5EE90Uhy8touKf0YBiRRS4C6npsHyWd8irzRTdtSK+Qhw=
=eupP
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org