checkState(server, ServerState.STARTING);
}
server.setState(ServerState.STARTED);
final PathElement element = PathElement.pathElement(RUNNING_SERVER, server.getServerName());
final ProxyController serverController = RemoteProxyController.create(Executors.newCachedThreadPool(),
PathAddress.pathAddress(PathElement.pathElement(HOST, domainController.getLocalHostInfo().getLocalHostName()), element),
ProxyOperationAddressTranslator.SERVER,
channel);
if (callback != null && serverController instanceof ManagementOperationHandler) {
callback.proxyOperationHandlerCreated((ManagementOperationHandler)serverController);