[jboss-jira] [JBoss JIRA] (WFCORE-511) "Reload" support for embedded server

Brian Stansberry (JIRA) issues at jboss.org
Tue Jan 20 16:44:49 EST 2015


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

Brian Stansberry commented on WFCORE-511:
-----------------------------------------

There probably should be a reload method in the embedded server API (e.g. StandaloneServer) as well, so the caller can invoke that and the StandaloneServer handles the reload and blocking until the new MCC is available. 

> "Reload" support for embedded server
> ------------------------------------
>
>                 Key: WFCORE-511
>                 URL: https://issues.jboss.org/browse/WFCORE-511
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Server
>            Reporter: Brian Stansberry
>
> The current embedded server stuff doesn't handle a server reload. It creates a ModelControllerClient and then holds it forever. But the ModelController backed by that MCC will be invalid after a reload.
> Key thing is to register a listener with the ControlledProcessStateService, and in callbacks deal with the reload and establish a new MCC. Nice to have is to make the MCC returned by StandaloneServer.getModelControllerClient() a facade that delegates to whatever the current "live" MCC is.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list