]
Brian Stansberry reassigned WFCORE-511:
---------------------------------------
Assignee: Brian Stansberry
Fix Version/s: 1.0.0.Beta1
Resolution: Done
"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
Assignee: Brian Stansberry
Fix For: 1.0.0.Beta1
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.