/** @since 0.9.4 */ public void shutdown(String[] args) { changeState(STOPPING); try { _server.stop(); } catch (Exception ie) { } PortMapper portMapper = _context.portMapper(); portMapper.unregister(PortMapper.SVC_CONSOLE); portMapper.unregister(PortMapper.SVC_HTTPS_CONSOLE); changeState(STOPPED); }