Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-324

Add shutdown callback to ServerController

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Major
    • None
    • None
    • None
    • None

    Description

      kkhan: Is there something I can wait for to know that a StandaloneServer instance has a) been completely started b) been completely stopped?
      [15:06] kkhan: b) is the most important for what I am doing
      [15:07] dmlloyd: for (b) we were planning on having an overall parent service
      [15:07] dmlloyd: not sure if we ever did that, but if so you could just have a remove listener on that
      [15:08] kkhan: How would I access that without access to the server controller? By registering a listener on startup?
      [15:09] dmlloyd: hm, well you can't really get at any services without access to the server's ServiceController
      [15:10] kkhan: Yeah, this lives outside of it all. I do have a batch builder for starting though - not sure if it is worth poking into that?
      [15:11] maeste left the chat room. (Ping timeout: 255 seconds)
      [15:17] kkhan: Counting the number of started and stopped services from a listener added to the batch seems to do the job. I
      [15:19] dmlloyd: after the MSC upgrade, maybe we should add a shutdown callback to ServerController (does that class still exist?)
      [15:19] dmlloyd: (yes, it does)
      [15:23] kkhan: That ^ sounds like a good idea

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              kkhan1@redhat.com Kabir Khan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: