You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Muhammad Gelbana <m....@gmail.com> on 2013/04/05 00:01:46 UTC
[5.3.6] Services shutdown order
I've raised the question before but I've reached a point where I must
resolve this.
Since the RegistryShutdownHub doesn't offer ordering to call registered
will-shutdown/shutdown listeners, has anyone managed to order the shutdown
process of his application ?
I need to shutdown my services before destroying the database connection.
Thank you.
Re: [5.3.6] Services shutdown order
Posted by Muhammad Gelbana <m....@gmail.com>.
And the reader has already carried on :)
Thank you all for your time
On Fri, Apr 5, 2013 at 9:59 PM, Howard Lewis Ship <hl...@gmail.com> wrote:
> Left as an exercise to the reader.
>
>
> On Fri, Apr 5, 2013 at 2:30 AM, Muhammad Gelbana <m.gelbana@gmail.com
> >wrote:
>
> > Thank you I'll look into integrating it into my application, thanks a
> again
> > :)
> >
> > So there is no official way to do this, correct ?
> >
> >
> > On Fri, Apr 5, 2013 at 12:41 AM, Robert Hailey <rh...@allogy.com>
> wrote:
> >
> > >
> > > Have you tried something like this (attached)?
> > >
> > > --
> > > Robert Hailey
> > >
> > >
> > > WARNING: Quick hack, totally untested, absolutely no warranty.
> > >
> > >
> > >
> > > On 2013/04/04 (Apr), at 5:01 PM, Muhammad Gelbana wrote:
> > >
> > > > I've raised the question before but I've reached a point where I must
> > > > resolve this.
> > > >
> > > > Since the RegistryShutdownHub doesn't offer ordering to call
> registered
> > > > will-shutdown/shutdown listeners, has anyone managed to order the
> > > shutdown
> > > > process of his application ?
> > > >
> > > > I need to shutdown my services before destroying the database
> > connection.
> > > >
> > > > Thank you.
> > >
> > >
> > >
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
Re: [5.3.6] Services shutdown order
Posted by Howard Lewis Ship <hl...@gmail.com>.
Left as an exercise to the reader.
On Fri, Apr 5, 2013 at 2:30 AM, Muhammad Gelbana <m....@gmail.com>wrote:
> Thank you I'll look into integrating it into my application, thanks a again
> :)
>
> So there is no official way to do this, correct ?
>
>
> On Fri, Apr 5, 2013 at 12:41 AM, Robert Hailey <rh...@allogy.com> wrote:
>
> >
> > Have you tried something like this (attached)?
> >
> > --
> > Robert Hailey
> >
> >
> > WARNING: Quick hack, totally untested, absolutely no warranty.
> >
> >
> >
> > On 2013/04/04 (Apr), at 5:01 PM, Muhammad Gelbana wrote:
> >
> > > I've raised the question before but I've reached a point where I must
> > > resolve this.
> > >
> > > Since the RegistryShutdownHub doesn't offer ordering to call registered
> > > will-shutdown/shutdown listeners, has anyone managed to order the
> > shutdown
> > > process of his application ?
> > >
> > > I need to shutdown my services before destroying the database
> connection.
> > >
> > > Thank you.
> >
> >
> >
>
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com
Re: [5.3.6] Services shutdown order
Posted by Muhammad Gelbana <m....@gmail.com>.
Thank you I'll look into integrating it into my application, thanks a again
:)
So there is no official way to do this, correct ?
On Fri, Apr 5, 2013 at 12:41 AM, Robert Hailey <rh...@allogy.com> wrote:
>
> Have you tried something like this (attached)?
>
> --
> Robert Hailey
>
>
> WARNING: Quick hack, totally untested, absolutely no warranty.
>
>
>
> On 2013/04/04 (Apr), at 5:01 PM, Muhammad Gelbana wrote:
>
> > I've raised the question before but I've reached a point where I must
> > resolve this.
> >
> > Since the RegistryShutdownHub doesn't offer ordering to call registered
> > will-shutdown/shutdown listeners, has anyone managed to order the
> shutdown
> > process of his application ?
> >
> > I need to shutdown my services before destroying the database connection.
> >
> > Thank you.
>
>
>
Re: [5.3.6] Services shutdown order
Posted by Robert Hailey <rh...@allogy.com>.
Have you tried something like this (attached)?
--
Robert Hailey
WARNING: Quick hack, totally untested, absolutely no warranty.