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

David Lloyd (Closed) (JIRA) jira-events at lists.jboss.org
Tue Oct 11 10:23:17 EDT 2011


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

David Lloyd closed AS7-324.
---------------------------

    Fix Version/s:     (was: 7.1.0.Beta1)
       Resolution: Out of Date

    
> 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
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list