protected void notifyXMPPServerValidityChanged() {
String server = this.getServer();
if (!lastXMPPServer.equals(server)) {
lastXMPPServer = server;
XMPPServerChangedEvent event = new XMPPServerChangedEvent(server,
isXMPPServerValid());
for (EnterXMPPAccountCompositeListener enterXMPPAccountCompositeListener : this.enterXMPPAccountCompositeListeners) {
enterXMPPAccountCompositeListener
.xmppServerValidityChanged(event);
}