[jboss-jira] [JBoss JIRA] Updated: (AS7-324) Add shutdown callback to ServerController

Jason Greene (JIRA) jira-events at lists.jboss.org
Wed Jun 29 03:20:32 EDT 2011


     [ https://issues.jboss.org/browse/AS7-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene updated AS7-324:
-----------------------------

    Fix Version/s: 7.1.0.Alpha1
                       (was: 7.0.0.CR1)


> Add shutdown callback to ServerController
> -----------------------------------------
>
>                 Key: AS7-324
>                 URL: https://issues.jboss.org/browse/AS7-324
>             Project: Application Server 7
>          Issue Type: Feature Request
>            Reporter: Kabir Khan
>            Assignee: David Lloyd
>             Fix For: 7.1.0.Alpha1
>
>
> 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list