[jboss-jira] [JBoss JIRA] Moved: (JBAS-8639) Add shutdown callback to ServerController

Kabir Khan (JIRA) jira-events at lists.jboss.org
Fri Nov 12 10:53:39 EST 2010


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

Kabir Khan moved MSC-32 to JBAS-8639:
-------------------------------------

     Project: JBoss Application Server  (was: Modular Service Container)
         Key: JBAS-8639  (was: MSC-32)
    Security: Public


> Add shutdown callback to ServerController
> -----------------------------------------
>
>                 Key: JBAS-8639
>                 URL: https://jira.jboss.org/browse/JBAS-8639
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list