[jboss-jira] [JBoss JIRA] (AS7-5963) Provide ability to detect server shutdown

David Lloyd (JIRA) jira-events at lists.jboss.org
Fri Nov 16 10:30:21 EST 2012


    [ https://issues.jboss.org/browse/AS7-5963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734918#comment-12734918 ] 

David Lloyd commented on AS7-5963:
----------------------------------

You can always just check the subsystem's service controller (or the AS's) to see if it is STOP_REQUESTED.
                
> Provide ability to detect server shutdown
> -----------------------------------------
>
>                 Key: AS7-5963
>                 URL: https://issues.jboss.org/browse/AS7-5963
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Server
>            Reporter: Thomas Diesler
>            Assignee: Jason Greene
>             Fix For: 7.2.0.Alpha1
>
>
> The general use case is that a subsystem maintains state (on behalf of a deployment) that should be removed on explicit user interaction (i.e. mgmt op) but not on subsystem/server shutdown. This should also work in the domain case. Perhaps the ApplicationServerService (or similar) could be queried about whether it is currently shutting down.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list