public boolean isRestartNeeded() {
        return restartNeeded;
    }
Returns true if the Jetty server needs to be restarted. This is usually required when
certificates are added, deleted or modified or when server ports were modified.

@return true if the Jetty server needs to be restarted.
xmppserver/src/main/java/org/jivesoftware/openfire/container/AdminConsolePlugin.java